CominAtYou / BatteryTile

An Android Quick Settings tile that displays the current battery state and percentage, and a long-press action to open the battery settings.
Apache License 2.0
49 stars 3 forks source link

[Feature Request] Enable Battery Saver on tap on the tile in QS #2

Closed Wrx95Pro closed 1 year ago

Wrx95Pro commented 1 year ago

I like your app and use it every day, but it lacks one thing that was in older Android releases - ability to enable or disable Battery Saver. As I know, some applications for creation custom QS tiles allow this behavior by giving the app special permission via ADB, named "android.permission.WRITE_SECURE_SETTINGS" So, if you could make this real, I'll be very happy and pleased ❤️

CominAtYou commented 1 year ago

I did actually have a build of the app that attempted to mimic the Battery Saver tile, but since I didn't know that you could manually grant the secure settings permission, I thought that toggling Battery Saver wouldn't have been possible. Thanks for letting me know about the ADB workaround—I'll get this added in as soon as I can.

CominAtYou commented 1 year ago

This has been added in v1.3.0.

Wrx95Pro commented 1 year ago

❤️❤️❤️ thx