ok linux question for you smart linux people. I want to add a battery indicator to my synthesizer program thingy which is a full screen program. I want to do the following:
1. not pull in any new library dependencies
2. determine whether the system is on battery or AC power
3. if it is on battery, determine the battery level as a simple percentage
4. have this work on more than one linux