mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-06 12:38:02 +02:00
daemon: Make comment more succinct
This will help make it more clear when adding an extra state on the following commit. It also makes the language consistent between the different lines. There are no changes on the meaning of these lines nor any functional changes on this commit.
This commit is contained in:
parent
59faabc3c2
commit
a074a5462a
1 changed files with 3 additions and 3 deletions
|
|
@ -209,9 +209,9 @@ up_daemon_update_display_battery (UpDaemon *daemon)
|
|||
power_supply == FALSE)
|
||||
continue;
|
||||
|
||||
/* If one battery is charging, then the composite is charging
|
||||
* If all batteries are discharging, then the composite is discharging
|
||||
* If all batteries are fully charged, then they're all fully charged
|
||||
/* If one battery is charging, the composite is charging
|
||||
* If all batteries are discharging, the composite is discharging
|
||||
* If all batteries are fully charged, the composite is fully charged
|
||||
* Everything else is unknown */
|
||||
if (state == UP_DEVICE_STATE_CHARGING)
|
||||
state_total = UP_DEVICE_STATE_CHARGING;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue