Disable Low Battery Popup #94

Closed
opened 4 years ago by Montblanc · 7 comments

First off, just a few words I have to spend on this module: I am using EdXposed and was very unpleased that one of the modules I needed (EnhancedToast) did not work. I stumbled upon your module and found out you embedded toast tweaking and it was just breathtaking. So thank you very much for that. This module has everything I need and more except for one thing: disabling that annoying low battery popup that interrupts me and steals the focus whenever I'm playing.

P.S.: I'm using MIUI 10.3.6.0 global stable on my lavender and I also filed a detailed report because the only thing not working is reverse portrait rotation.

I hope you will look into that and also add this feature in the future. In the meantime thank you and keep up the awesome work!

First off, just a few words I have to spend on this module: I am using EdXposed and was very unpleased that one of the modules I needed (EnhancedToast) did not work. I stumbled upon your module and found out you embedded toast tweaking and it was just breathtaking. So thank you very much for that. This module has everything I need and more except for one thing: disabling that annoying low battery popup that interrupts me and steals the focus whenever I'm playing. P.S.: I'm using MIUI 10.3.6.0 global stable on my lavender and I also filed a detailed report because the only thing not working is reverse portrait rotation. I hope you will look into that and also add this feature in the future. In the meantime thank you and keep up the awesome work!
Owner

Try this command, should disable the warning: adb shell settings put low_battery_dialog_disabled 1

Try this command, should disable the warning: `adb shell settings put low_battery_dialog_disabled 1`
Poster

Thanks for the quick reply! I entered 'settings put low_battery_dialog_disabled 1' in a terminal emulator but resulted in an Invalid namespace for low_battery_dialog_disabled

Thanks for the quick reply! I entered 'settings put low_battery_dialog_disabled 1' in a terminal emulator but resulted in an Invalid namespace for low_battery_dialog_disabled
Owner

Yeah :) settings put system low_battery_dialog_disabled 1

Yeah :) `settings put system low_battery_dialog_disabled 1`
Poster

Ok, though I had to enter that as root. Let's see what happens when my battery drops. Will surely report back. Thanks! 👍

EDIT: It worked as a charm! Thank you! :) Will this setting survive a reboot?

Ok, though I had to enter that as root. Let's see what happens when my battery drops. Will surely report back. Thanks! :+1: EDIT: It worked as a charm! Thank you! :) Will this setting survive a reboot?
Owner

Check it yourself :) settings get system low_battery_dialog_disabled

Check it yourself :) `settings get system low_battery_dialog_disabled`
Mikanoshi added the
Suggestion
ToDo
labels 4 years ago
Mikanoshi changed title from [Request] Disable Low Battery Popup to Disable Low Battery Popup 4 years ago
Poster

It did! Wonderful!

It did! Wonderful!
Owner

I'll add it as mod anyway) To work without root.

I'll add it as mod anyway) To work without root.
Mikanoshi closed this issue 4 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Mikanoshi/CustoMIUIzer#94
Loading…
There is no content yet.