- Code: Select all
# upower -i `upower -e | grep 'BAT'`
native-path: BAT0
vendor: DP
model: bq20z451
power supply: yes
updated: Tue 26 Jul 2016 01:49:43 PM CDT (85 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
warning-level: none
energy: 35.0071 Wh
energy-empty: 0 Wh
energy-full: 49.7349 Wh
energy-full-design: 59.6775 Wh
energy-rate: 15.4285 W
voltage: 11.532 V
time to empty: 2.3 hours
percentage: 59%
temperature: 32.3 degrees C
capacity: 83.3394%
technology: lithium-ion
icon-name: 'battery-good-symbolic'
History (charge): capacity
1469558983 59.000 discharging
History (rate):
1469558983 15.429 discharging
The icon in the tray gives me the percentage 59% reported above. I would like for the icon to give me the capacity instead (83%). How can I do this?