Device events

* Implement notification requests
* Add tasks to check for battery low and sync events
I guess you refactored the header key here