mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-08 08:58:07 +02:00
trivial: fix the name of the percentage file
This commit is contained in:
parent
c7cf8aa16a
commit
21da4824a7
1 changed files with 1 additions and 1 deletions
|
|
@ -684,7 +684,7 @@ up_device_supply_refresh_battery (UpDeviceSupply *supply)
|
|||
if (energy < 0.01f &&
|
||||
energy_rate < 0.01f &&
|
||||
energy_full < 0.01f) {
|
||||
percentage = sysfs_get_double (native_path, "CAPACITY");
|
||||
percentage = sysfs_get_double (native_path, "capacity");
|
||||
}
|
||||
|
||||
/* the battery isn't charging or discharging, it's just
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue