Merge lp:~charlesk/indicator-power/lp-1416096-publish-primary-device-state-on-bus into lp:indicator-power/rtm-14.09
Proposed by
Charles Kerr
on 2015-01-30
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Ted Gould on 2015-02-03 | ||||
| Approved revision: | 273 | ||||
| Merge reported by: | Charles Kerr | ||||
| Merged at revision: | not available | ||||
| Proposed branch: | lp:~charlesk/indicator-power/lp-1416096-publish-primary-device-state-on-bus | ||||
| Merge into: | lp:indicator-power/rtm-14.09 | ||||
| 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 | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ted Gould (community) | 2015-01-30 | Approve on 2015-02-03 | |
| Ken VanDine | 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:/
To post a comment you must log in.
lp:~charlesk/indicator-power/lp-1416096-publish-primary-device-state-on-bus
updated
on 2015-02-03
- 273. By Charles Kerr on 2015-02-03
-
when a device can't be found, return 'unknown' rather than an empty string.
review:
Approve

Looks great!