Reading Battery info in Linpus

Discussion in 'Accessories' started by speekergeek, Mar 13, 2009.

  1. speekergeek

    speekergeek

    Joined:
    Jul 17, 2008
    Messages:
    76
    Likes Received:
    0
    Hit Alt+F2 and get into the terminal.

    type "cat /proc/acpi/battery/BAT1/state" without quotations to read the current state of the battery.

    type "/proc/acpi/battery/BAT1/info" to get more useful info about your battery

    Here is an example of the info you get from those commands:

    [user@localhost ~]$ cat /proc/acpi/battery/BAT1/info
    present: yes
    design capacity: 4400 mAh
    last full capacity: 2682 mAh
    battery technology: rechargeable
    design voltage: 11100 mV
    design capacity warning: 300 mAh
    design capacity low: 107 mAh
    capacity granularity 1: 32 mAh
    capacity granularity 2: 32 mAh
    model number: UM08B74
    serial number: 013A
    battery type: LION
    OEM info: SIMPLO
    [user@localhost ~]$ cat /proc/acpi/battery/BAT1/state
    present: yes
    capacity state: ok
    charging state: discharging
    present rate: 966 mA
    remaining capacity: 1811 mAh
    present voltage: 11842 mV
    [user@localhost ~]$
     
    speekergeek, Mar 13, 2009
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.