Possible Duplicate:
How to check battery status using terminal?
I want to find out whether my laptop is plugged in to AC power or not using the command line. How can I do this?
Possible Duplicate:
How to check battery status using terminal?
I want to find out whether my laptop is plugged in to AC power or not using the command line. How can I do this?