[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

current power consumption



Hi,

is it possible to get the current power consumtion from
/proc/pmu/battery_0?

$ cat /proc/pmu/battery_0 

flags      : 00000013
charge     : 3789
max_charge : 3930
current    : 195
voltage    : 12650
time rem.  : 2603

I've measured a power consumption of 24 Watt, but I don't know where to
find this in values above. What are the units of the values above? Is
charge and max_charge in Ah (Ampere hours) and voltage in mV? Why current
is 0 if the battery is full? The laptop still consumes power.

Bye, Jörg.

PS: I have a iBook G4
$ cat /proc/cpuinfo 
processor       : 0
cpu             : 7455, altivec supported
clock           : 606MHz
revision        : 3.3 (pvr 8001 0303)
bogomips        : 610.30
machine         : PowerBook6,3
motherboard     : PowerBook6,3 MacRISC3 Power Macintosh
detected as     : 287 (iBook G4)
pmac flags      : 0000000a
L2 cache        : 256K unified
memory          : 256MB
pmac-generation : NewWorld

-- 
Hügelschäfer's Law (http://www.bruhaha.de/laws.html):
Beiträge werden dort gepostet, wo sie den größten Widerstand hervorrufen.



Reply to: