With this code you can define is your system is currently running using a battery, and whether this battery is a UPS (uninterruptible power supply) short-term battery or a regular portable computer battery.
Credits: PHP (4.4.9), an HTML-embedded scripting language,
MySQL (5.1.55-log), the Open Source standard SQL database,
Version 4, freeware HTML Editor of choice. Hosted by Korax Online Inc.