Trying to get a reliable estimation when it is time to switch from battery to power supply (or shut down the netbook).
Using GNOME battery status applet and upower tool (they are coherent). At present when percentage is about 50% the netbook abruptly turns off with no warning or a chance to shutdown proper.
- 50% is the critical discharge level
- UPower’s algorithm of calculating discharge level doesn’t fit the hardware I have.
In the latter I’d appreciate any hint how to fix it.
Experimentally I found that it takes five hours for the netbook to turn off.
Netbook: Aspire Acer One AOA-150 Battery model: UM08A71 System: Debian GNU/Linux 9.6 (stretch) UPower client version 0.99.4 GNOME Shell 3.22.3
$ upower -i $ (upower -e | grep BAT) native-path: BAT1 vendor: SIMPLO model: UM08A71 serial: 1000 power supply: yes updated: Fri 08 Mar 2019 04:20:30 PM EET (65 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: fully-charged warning-level: none energy: 144.023 Wh energy-empty: 0 Wh energy-full: 144.023 Wh energy-full-design: 96.1038 Wh energy-rate: 3.7407 W voltage: 12.523 V percentage: 100% capacity: 100% technology: lithium-ion icon-name: 'battery-full-charged-symbolic' History (rate): 1552054830 3.741 fully-charged
$ upower -e | grep BAT
returns /org/freedesktop/UPower/devices/battery_BAT1. I found no clue what is this.