A function that will be called when the battery state changes. The function should accept no arguments.
Returns
An hs.battery.watcher object
Notes
Because the callback function accepts no arguments, tracking of state of changing battery attributes is the responsibility of the user (see https://github.com/Hammerspoon/hammerspoon/issues/166 for discussion)