You might also check out the Device Watchdog by @bptworld; it has the ability to configure both activity and battery monitor checks.