You are not logged in.
My desktop is powered over UPS and looks that my battery is old so it can handle much shorter time without electricity.
Before I will upgrade battery I need to configure upower to shutdown desktop much sooner.
here is my config now:
[UPower]
EnableWattsUpPro=false
NoPollBatteries=false
IgnoreLid=false
UsePercentageForPolicy=true
PercentageLow=75
PercentageCritical=70
PercentageAction=65
TimeLow=12
TimeCritical=6
TimeAction=6
CriticalPowerAction=PowerOffso if percetage get lower that 75% it will triger "low" and if it below 65% it will power off
but I am not sure about time unit.
IS it in seconds? miliseconds? or minutes?
I want to configure that too, because I am not sure if my UPS support that ...
here is upower info about UPS
upower -i /org/freedesktop/UPower/devices/ups_hiddev0
native-path: /sys/devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13:1.0/usbmisc/hiddev0
power supply: yes
updated: Sat 08 Jul 2017 09:03:39 CEST (1 seconds ago)
has history: yes
has statistics: yes
ups
present: yes
state: charging
warning-level: none
time to empty: 11.8 minutes
percentage: 94%
icon-name: 'battery-full-charging-symbolic'Offline
Seconds is the most likely unit, since the dbus interface reports the remaining time in seconds.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline