In the Documentation section of the IDE there is a Capability Power.
Has anyone found a way for it or seen it used.
Here is information from the site.
Capability Name_________SmartApp Preferences Reference
powerSource _________String "unknown""mains" “battery” “dc”