Re: battery level from command line

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

 



On Fri, 14 Mar 2008 21:15:00 -0500, Dennis Gilmore wrote:

[...]
>> >
>> > cat /proc/acpi/battery/BAT*/state
>> >
>> > Dennis
>>
>> Looks good.  How do I know the full mAh?  I guess I'll just wait and
>> see.
>>
>> # cat /proc/acpi/battery/BAT0/state
>> present:                 yes
>> capacity state:          ok
>> charging state:          charging
>> present rate:            unknown
>> remaining capacity:      3040 mAh
>> present voltage:         12483 mV
> 
> cat /proc/acpi/battery/BAT*/info
> 
> Dennis

Interesting.  But it still begs the question of how it
decided that the "last full capacity" was in fact a
full capacity.

# cat /proc/acpi/battery/BAT0/info
present:                 yes
design capacity:         6000 mAh
last full capacity:      4032 mAh
battery technology:      rechargeable
design voltage:          14800 mV
design capacity warning: 207 mAh
design capacity low:     125 mAh
capacity granularity 1:  10 mAh
capacity granularity 2:  25 mAh
model number:            Primary
serial number:
battery type:            LION
OEM info:                Hewlett-Packard

Mike.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux