Is there any way to schedule timer to power on and off device?
Example daily power on at 8am and power off at 10pm.
Depending on the device that you are using, this setting can easily be configured, in fact it comes natively on some devices like Xiaomi (MIUI), LG, Oneplus or Lenovo.
For example on my device running MIUI 9, I can easily configure the timer like so:
Open the Security App xe2x86x92 Battery xe2x86x92 Settings (Gear icon on top right corner) xe2x86x92 Schedule power on or off:
Enter time setting and tap OK, you're all set!.
Alternatively this feature can also be configured on some android ROMs:
If neither of these options is available, then you could simply take the advantage that your android device can be woken up by an alarm even if its in the off state:
- This workaround simply requires any android app capable of turning off the device at scheduled time e.g Tasker, Automate, Macrodroid etc
- Then set an ideally silent alarm (e.g stock CM11S alarm (with a silent alarm) to power on the device.
Credits Oneplus forum: Schedule power on and off