5/10/2020

batterijtest op laptop: upower

Filed under: — cybrarian @ 10:39 am

gebruik

Op de commandolijn:

upower -i /org/freedesktop/UPower/devices/battery_BAT0

(pad is /usr/bin/upower maar hoeft niet als root)

Installeer

Commando is standaard aanwezig in KDE-desktop laptop installatie; niet bv icewm.

Info en installatie via het softwarebeheer van de Linux distributie:
(bv openSUSE in package group System/Daemons)
– upower
– libupower-glib3
– upower-lang


Power Device Enumeration Framework

UPower is an abstraction for enumerating power devices, listening to device events and querying history and statistics. Any application or service on the system can access the org.freedesktop.UPower service via the system message bus. Some operations (such as suspending the system) are restricted using PolicyKit.

Versie 0.99.11 Grootte 143 KB

Uitvoer
Voorbeeld van reaktie:

Laptop 1 (zit in docking station)
Laptop 2 (hangt aan voeding)
Laptop 3 (op batterij)

Laptop 1

upower -i /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: Hewlett-Packard
model: Primary
serial: 07139 2013/08/15
power supply: yes
updated: ma 05 okt 2020 11:38:33 CEST (117 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: fully-charged
warning-level: none
energy: 36,0936 Wh
energy-empty: 0 Wh
energy-full: 36,0936 Wh
energy-full-design: 36,0936 Wh
energy-rate: 3,1104 W
voltage: 12,489 V
percentage: 100%
capacity: 100%
technology: lithium-ion
icon-name: ‘battery-full-charged-symbolic’

Laptop 2

upower -i /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: Hewlett-Packard
model: Primary
serial: 00623 2011/12/14
power supply: yes
updated: ma 05 okt 2020 11:43:33 CEST (98 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: charging
warning-level: none
energy: 42,6492 Wh
energy-empty: 0 Wh
energy-full: 43,2756 Wh
energy-full-design: 43,2756 Wh
energy-rate: 7,6464 W
voltage: 12,286 V
time to full: 4,9 minutes
percentage: 98%
capacity: 100%
technology: lithium-ion
icon-name: ‘battery-full-charging-symbolic’

Na uittrekken van de adapaterkabel:

upower -i /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: Hewlett-Packard
model: Primary
serial: 00623 2011/12/14
power supply: yes
updated: ma 05 okt 2020 11:49:06 CEST (25 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
warning-level: none
energy: 42,5952 Wh
energy-empty: 0 Wh
energy-full: 43,2756 Wh
energy-full-design: 43,2756 Wh
energy-rate: 9,0612 W
voltage: 11,926 V
time to empty: 4,7 hours
percentage: 98%
capacity: 100%
technology: lithium-ion
icon-name: ‘battery-full-symbolic’
History (charge):
1601891306 98,000 discharging
History (rate):
1601891346 9,061 discharging
1601891328 13,349 discharging
1601891306 9,882 discharging
1601891262 12,938 discharging

upower -i /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: Hewlett-Packard
model: Primary
serial: 00623 2011/12/14
power supply: yes
updated: ma 05 okt 2020 11:43:33 CEST (98 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: charging
warning-level: none
Laptop 3

native-path: BAT0
vendor: Hewlett-Packard
model: Primary
serial: 01156 2012/02/29
power supply: yes
updated: Mon 05 Oct 2020 12:20:14 PM CEST (0 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
warning-level: none
energy: 46.3968 Wh
energy-empty: 0 Wh
energy-full: 46.656 Wh
energy-full-design: 46.656 Wh
energy-rate: 12.312 W
voltage: 12.008 V
time to empty: 3.8 hours
percentage: 99%
capacity: 100%
technology: lithium-ion
icon-name: ‘battery-full-symbolic’
History (charge):
1601893212 99.000 charging
History (rate):
1601893214 12.312 discharging

Voordien op de voeding:

native-path: BAT0
vendor: Hewlett-Packard
model: Primary
serial: 01156 2012/02/29
power supply: yes
updated: Mon 05 Oct 2020 12:17:21 PM CEST (14 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: charging
warning-level: none
energy: 45.9972 Wh
energy-empty: 0 Wh
energy-full: 46.656 Wh
energy-full-design: 46.656 Wh
energy-rate: 30.6396 W
voltage: 12.256 V
time to full: 1.3 minutes
percentage: 98%
capacity: 100%
technology: lithium-ion
icon-name: ‘battery-full-charging-symbolic’

Reacties zijn gesloten.

Powered by WordPress