Run code when battery gets low

Posted on
  • Short of running some check at an interval, is there any way to run code when the battery is almost critical to save some data?

  • I'm afraid not - I'd say a check for battery level every so often is best - and it won't increase power draw to much if you only do it a few times a minute.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Run code when battery gets low

Posted by Avatar for DanTheMan827 @DanTheMan827

Actions