by Sebastian Haderecker
Version 4 (September 17, 2016)
Download (147 downloads)
Activates Doze on screen off and vice versa.
This is especially useful for devices that don't have a "significant motion sensor", e.g. the S3.
Update 4:
- Simplified code
- Improved reliability
- Removed unnessecary catch failure and log blocks
Update 3:
- After a failure, ensure we try to doze on the next time
Update 2:
- Improved reliability
- Added catch failure block and corresponding log message