mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-05 20:28:01 +02:00
dbus: G_MAXUINT means ignore ChargeStartThreshold or ChargeEndThreshold
If the value is G_MAXUINT, it means charge_control_start_threshold or charge_control_end_threshold will be skipped.
This commit is contained in:
parent
d7005f618d
commit
9449cb5831
1 changed files with 2 additions and 0 deletions
|
|
@ -857,6 +857,7 @@ method return sender=:1.386 -> dest=:1.477 reply_serial=2
|
|||
<doc:description>
|
||||
<doc:para>
|
||||
<p>When a start charge threshold is set the battery won't get charged until the charge drops under this threshold.</p>
|
||||
<p>In general case, ChargeStartThreshold is between 0 and 100. If it is G_MAXUINT, upower will skip to set charge_control_start_threshold.</p>
|
||||
</doc:para>
|
||||
</doc:description>
|
||||
</doc:doc>
|
||||
|
|
@ -867,6 +868,7 @@ method return sender=:1.386 -> dest=:1.477 reply_serial=2
|
|||
<doc:description>
|
||||
<doc:para>
|
||||
<p>The end charge threshold stops the battery from getting charged after the set threshold</p>
|
||||
<p>In general case, ChargeEndThreshold is between 0 and 100. If it is G_MAXUINT, upower will skip to set charge_control_end_threshold.</p>
|
||||
</doc:para>
|
||||
</doc:description>
|
||||
</doc:doc>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue