battery and battery.watcher API