Find the answer to your Linux question:
Results 1 to 4 of 4
I have an HP Compaq nc4010 laptop, with Debian experimental installed on it. In the BIOS utility, I can view what they refer to as "battery information". Unfortunately, it's all ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    5

    Unhappy HP Compaq nc4010 BIOS Battery Information


    I have an HP Compaq nc4010 laptop, with Debian experimental installed on it.

    In the BIOS utility, I can view what they refer to as "battery information".
    Unfortunately, it's all horribly abbreviated, so I can only guess what the labels mean.

    Is there any way I can acces this same information from linux, preferably with full labels and/or descriptions?


    I shall also add a sample of the information in case anybody is familiar with it.

    Code:
    C1  3600
    C2  -54
    C3  0
    ME  2
    CC  235
    T   26
    TV  9894
    C   -2141
    DV  11100
    MN  SIMPLO (or maybe zero, not too sure)
    CV1 0
    CV2 3261
    CV3 3323
    CV4 3305
    S   BDO

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Battery info in primarily in /proc/acpi/battery

    You can get a lot of info by doing
    Code:
    cat /proc/acpi/battery/BAT0/info
    cat /proc/acpi/battery/BAT0/state
    Note that the battery name may be different, or if you have more than one battery, there could be multiple entries, such as BAT1, BAT2, etc.

    Also, you might be interested in the program powertop.

  3. #3
    Just Joined!
    Join Date
    Oct 2009
    Posts
    5
    Thanks for your reply, reed9, but I do not have a battery folder in /proc/acpi. And yes, I'm checking it as root.

    Code:
    # ls /proc/acpi
    button  embedded_controller  fan    power_resource  sleep   video
    dsdt    fadt                 info   thermal_zone    wakeup

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Hmm.

    Try looking is /sys/class/power_supply/BAT* instead.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •