This year, we have seen phone companies refocus their efforts on ensuring that users do not spend too much time on their smartphones. Google introduced Digital Wellbeing as a Pixel-exclusive and then made it a requirement for all Android devices, prompting OEMs to include it in their ROMs. Digital Wellbeing essentially informs the user just how much they use their smartphone, and provide tools that can help them scale it down through timers, and get less distracted by the phone towards the end of the day through the Wind Down function. Now, Google is exploring the possibility of automatically enabling Wind Down function when a phone is plugged in to charge at night.
The Wind Down feature within Digital Wellbeing can be set to turn your display grayscale and enable Do Not Disturb mode. These can be set to be enabled automatically either on a set schedule, or follow the Night Light schedule (sunset to sunrise). Digital Wellbeing v1.0.279068912.beta contains strings that indicate that an additional scheduling option will be added to the app.
<string name="power_state_item_description">If you plug-in your phone between 9pm - 8am, your phone will start Wind Down. It will end whenever you unplug.</string>
<string name="power_state_item_label">Plug-in to unplug</string>PASTE YOUR CODE HERE
Thus, Wind Down will be enabled when you plug in your phone at night and end whenever you unplug. This will be particularly handy for those who like to use their phone in bed while it is charging by their bedside, as that is the perfect time when Wind Down should commence in order to serve its purpose of weaning you off your phone. And if you do need the full functionality of your phone, you can simply unplug it and not have to worry about changing any setting or flipping any toggle.
We managed to surface the setting in the Beta to get you a screenshot:
We expect the feature to be rolled out to the stable release channel soon.
Thanks to PNF Software for providing us a license to use JEB Decompiler, a professional-grade reverse engineering tool for Android applications.
The post Digital Wellbeing tests auto-enabling Wind Down when you plug-in at night appeared first on xda-developers.
from xda-developers https://ift.tt/2NEGyZS
via IFTTT
Aucun commentaire:
Enregistrer un commentaire