Merge lp:~charlesk/indicator-power/lp-1416096-publish-primary-device-state-on-bus-15.04 into lp:indicator-power/15.04
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Ken VanDine on 2015-01-30 | ||||
| Approved revision: | 277 | ||||
| Merged at revision: | 276 | ||||
| Proposed branch: | lp:~charlesk/indicator-power/lp-1416096-publish-primary-device-state-on-bus-15.04 | ||||
| Merge into: | lp:indicator-power/15.04 | ||||
| Diff against target: |
129 lines (+80/-7) 1 file modified
src/service.c (+80/-7) |
||||
| To merge this branch: | bzr merge lp:~charlesk/indicator-power/lp-1416096-publish-primary-device-state-on-bus-15.04 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Approve on 2015-01-30 | |
| Ken VanDine | 2015-01-30 | Approve on 2015-01-30 | |
| Ted Gould (community) | 2015-01-30 | Approve on 2015-01-30 | |
|
Review via email:
|
|||
Commit Message
Publish the primary device's state for on the bus.
Description of the Change
Publish the primary device's state on the bus for the benefit of u-s-s.
Published as a string, eg "charging", "discharging", "empty", "full", "unknown". In the simple case of a device with a single battery, that battery's state is used. In more complex cases, the state of a virtual aggregated battery will be used as described in <https:/
- 277. By Charles Kerr on 2015-01-30
-
in the new device-state action state, use the string 'unknown' if no primary device is found.
| Ken VanDine (ken-vandine) wrote : | # |
looks good and works great. Perfectly solves my use case!
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:277
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://

Cool, thanks for the "unknown" fix. Looks good.