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.
parent 59faabc3
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment