LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   battery status (https://www.linuxquestions.org/questions/linux-newbie-8/battery-status-925721/)

tongsak77 01-25-2012 07:57 PM

battery status
 
Hi Everyone,

I am unable to display my battery status using acpi in the terminal window. I have also tried ibam and all I get is the following:

Adapter 0: off-line
Cooling 0: LCD 0 of 7
Cooling 1: Processor 0 of 10
Cooling 2: Processor 0 of 10
tongsak@yoshi:~$ /sys/class/power_supply/BAT0/energy_ful
bash: /sys/class/power_supply/BAT0/energy_ful: No such file or directory
tongsak@yoshi:~$ ibam
No apm data available.
tongsak@yoshi:~$ acpi
tongsak@yoshi:~$ display acpi
display: unable to open image `acpi': @ error/blob.c/OpenBlob/2489.
tongsak@yoshi:~$ sudo acpi -v
acpi 1.5

Copyright (C) 2001 Grahame Bowland.
2008 Michael Meskes.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
tongsak@yoshi:~$ sudo acpi -V
Adapter 0: off-line
Cooling 0: LCD 0 of 7
Cooling 1: Processor 0 of 10
Cooling 2: Processor 0 of 10

Please let me know what to do... Thanks

paladin.michael 01-26-2012 03:00 PM

maybe
Quote:

cat /proc/acpi/battery/BAT0/state


All times are GMT -5. The time now is 07:46 PM.