mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-22 20:28:13 +02:00
linux: up-device-supply: reset the values for battery charging threshold
Reset the value of the properties. Signed-off-by: Kate Hsuan <hpa@redhat.com>
This commit is contained in:
parent
a955bae8c4
commit
f3a81a610f
1 changed files with 4 additions and 0 deletions
|
|
@ -107,6 +107,10 @@ up_device_supply_reset_values (UpDeviceSupply *supply)
|
|||
"temperature", (gdouble) 0.0,
|
||||
"technology", UP_DEVICE_TECHNOLOGY_UNKNOWN,
|
||||
"charge-cycles", -1,
|
||||
"charge-start-threshold", 0,
|
||||
"charge-end-threshold", 100,
|
||||
"charge-threshold-enabled", FALSE,
|
||||
"charge-threshold-supported", FALSE,
|
||||
NULL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue