Saturday, February 19, 2011

battery status in linux

i am using Fedora 13

if want to check your laptop's battery life and status

installation
yum install acpi


acpi 
acpi -i details
acpi -V show everything

1 comment:

  1. cat /proc/acpi/battery/BAT0/info

    --OR--

    grep -F capacity: /proc/acpi/battery/BAT0/info

    ReplyDelete

About

Blogger templates