Uses the coarse location to calculate sunrise and sunset times, as well as the Google Play Services activity detection API to automatically set the display brightness on your Android Wear.
This is only necessary for watches that DON'T have an ambient light sensor. This is not needed for the Moto 360, but can be used with it if the watch brightness setting is on manual mode. If the watch is on auto, this app will not change the value (useful if you have multiple Android Wear devices.)
If it's night time, the brightness will always be set to the lowest.
If it's day time, it will determine the brightness, between medium and high, based on the current user activity. Feel free to change the brightness levels depending on your activities.
By using the activity detection, we are making assumptions to determine whether the user is indoors, or outdoors, and then setting the display brightness on the watch based on that.
For battery saving purposes, there may be a delay between each detection.
- Allow the user to set the display brightness desired depending on the specific activity.
- Only change display brightness if the current brightness mode is manual (support for moto 360, useful if you own multiple android wear devices and some don't have an ambient light sensor)
- Fix for sunrise/sunset detection