summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoão Paulo Rechi Vita <jprvita@endlessm.com>2018-11-01 14:45:28 -0700
committerJoão Paulo Rechi Vita <jprvita@endlessm.com>2018-11-14 12:21:36 -0800
commita074a5462ab9749ad4aaca52e0202602897660aa (patch)
tree4d523bc451e5004b8ed89a977d6dcab27cb72903
parent59faabc3c2634b6677ae0e1f3d94a23bbca21b12 (diff)
downloadupower-a074a5462ab9749ad4aaca52e0202602897660aa.tar.gz
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.
-rw-r--r--src/up-daemon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/up-daemon.c b/src/up-daemon.c
index 1a5dddc..95fff6b 100644
--- a/src/up-daemon.c
+++ b/src/up-daemon.c
@@ -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;