Kodların çıktısı şu şekilde;
~ $ upower -i /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: ASUSTek
model: N56--52
power supply: yes
updated: Paz 21 Ara 2014 00:00:49 EET (7 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: fully-charged
energy: 22,55 Wh
energy-empty: 0 Wh
energy-full: 23,1 Wh
energy-full-design: 57,2 Wh
energy-rate: 0 W
voltage: 12,448 V
percentage: 97%
capacity: 40,3846%
technology: lithium-ion
~ $ cat /proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
charging state: charged
present rate: 0 mW
remaining capacity: 22550 mWh
present voltage: 12447 mV
~ $ cat /proc/acpi/battery/BAT0/info
present: yes
design capacity: 57200 mWh
last full capacity: 23100 mWh
battery technology: rechargeable
design voltage: 11100 mV
design capacity warning: 5720 mWh
design capacity low: 572 mWh
cycle count: 0
capacity granularity 1: 572 mWh
capacity granularity 2: 572 mWh
model number: N56--52
serial number:
battery type: LIon
OEM info: ASUSTek