Question How to reset battery settings imported from an Android One device? - Redmi Note 10

During the MIUI first-boot setup process, I chose to import settings via Google from a previous Android One Mi A2 lite. It seems some settings were imported which are now still active but I cannot seem to change or reset via the MIUI interface:
* Battery saver mode - turns on when battery falls below X%, enforces dark mode and no vibrations etc
* 'Bedtime' red tint - turns on/off at the time set on the old phone, but I can't modify this via the MIUI settings
Is the MIUI implementation of these features separate from the underlying Android, or why is this happening?
More importantly, is there a way to reset these settings?

I managed to access the Android battery saver settings (which are indeed at least partly separate from the MIUI ones) via Google Assistant and the command "show battery settings". This opens a rudimentary UI which allows one to change the imported settings.
Not sure how to do the same for the night shift mode yet.

monoidal said:
I managed to access the Android battery saver settings (which are indeed at least partly separate from the MIUI ones) via Google Assistant and the command "show battery settings". This opens a rudimentary UI which allows one to change the imported settings.
Not sure how to do the same for the night shift mode yet.
Click to expand...
Click to collapse
May be try Activity Launcher ?

Related

[MOD] All My... (Xposed tweaks for CM/AOSP/TW)

Collection of various tweaks for CyanogenMod/AOSP/TouchWiz and few apps (Firefox, Adobe Reader, MX Player). This module currently offers over 20 tweaks. All the tweaks were previously available as standalone modules. I enable most of them on all of my devices. Because of that and the increased number of tweaks, it no longer makes sense to offer them separately.
List of tweaks:
Disable Su Indicator - Disable # (pound/hash) indicator in status bar
Always Software Menu - Allows to have both software menu button and menu mapped to key on CM. Workaround for this.
No Toast Icons
Pocket First - Make Pocket the first option when sharing
Desk Clock Alarm - Make Alarm the default tab in stock/Google Desk Clock
One Way Brightness - Make auto brightness go only up
Battery Light Disabler - Battery light will not shine when in downtime (Interruptions) or when the screen is on
One Hand Zoom Enabler (Firefox/Adobe Reader)
Battery History XXL - Enlarge the stock settings battery history - from 10 to 30 records
Native Freezer - Disable and re-enable any 3rd party app from System Settings
Minimum Brightness (MX Player/system) - Change the minimum brightness level from usual 10 to 1
Gentle Haptic Feedback
Compact Volume Panel
Chrome Tabs Toolbar On Phone - Enable tablet layout while keep mobile User Agent
Disable Horizontal Scroll (Adobe Reader)
Remap PREV button to PLAY/PAUSE - Allow use volume keys to change volume, advance to next song and play/pause
Remap NEXT button to Torch - Allow use volume up key (long press) to start flashlight (when music is off)
K920 Cardboard Fix - Fix screen resolution in Google Cardboard on Lenovo Vibe Z2 Pro (K920)
No Wake On Charge - Disable screen wake when cable is plugged in/unplugged on Samsung Galaxy S5 (stock Android 5.0)
Reader Mode (Adapt Display) - Enable Samsung screen ebook reading mode for Adobe Reader/Moon+ Reader on Samsung Galaxy S5 (stock Android 5.0)
Disable Android Wear Disconnected Notification
Media Stream Default - Prefer media instead of ringer during volume control
Advanced Volume Keys - Long press VOLUME -/+ for PLAY_PAUSE/NEXT when screen is off or showing lock screen
No Password After Boot - Disable the "Unable to use fingerprints. Device restarted. Enter backup password, then fingerprints can be used next time device locked." message
Touch key light - Re-enable the lost option to set buttons light timeout (Samsung Galaxy S7)
sRGB for video only - Switch to sRGB (Basic screen mode) for video (MX Player/YouTube) while keeping Adaptive for everything else (Samsung Galaxy S7)
MTP Without Unlock - Start MTP even with screen off or without unlocking unsecure keyguard (Samsung Galaxy S5/S7)
Allow MTP Access - Get rid of the "Allow access to device data" dialog (Samsung Galaxy S7)
Disable Battery Prediction - Hide the estimated battery usage in battery graph
Detailed Battery Usage - Enable detailed 'Wi-Fi/Awake/Screen on' battery usage stats
NEW! No Gboard Bar - Disable the top bar in Google's Gboard keyboard
NEW! Keep LED off during DnD (Samsung Galaxy S7)
NEW! 'LTE/3G(auto connect)' network mode - Enable network mode profile without 2G in the system settings (Samsung Galaxy S7)
NEW! Remap BT Redial to Next Track - Great for headsets like QCY Q26
NEW! Minimized bottom bar in Google Maps - It's no longer necessary to touch the screen
NEW! Disable Location Dialog in Google Maps - Get rid of the 'To continue, let your device turn on location using Google's Location Service' alert
Download: Xposed Repo or Play Store
Source: https://github.com/moneytoo/AllMy...
Will the minimum brightness app have a min brightness setting? I have an IPS screen on my lg g4. Will this lower my actual brightness? I use my phone at night and the minimum brightness is too bright. I've tried screen filters but I would prefer an app that actually lowers the brightness past stock.
mattnin said:
Will the minimum brightness app have a min brightness setting? I have an IPS screen on my lg g4. Will this lower my actual brightness? I use my phone at night and the minimum brightness is too bright. I've tried screen filters but I would prefer an app that actually lowers the brightness past stock.
Click to expand...
Click to collapse
Since there's actual UI, I will probably eventually add such option... But please be aware that it's still the same feature that GravityBox already offers (so if GB doesn't break anything for you, you can use it already).
Minimum brightness is not working in my device. What system apps and/or framework files from my ROM would you need me to send to you to fix it? It's a stock ROM, Android 5.1.1, my phone is a BQ Aquaris M5.
Thanks!
thank you for this nice module (and your old ones it replaced for me)
would you please be so kind as to include changelogs in the play store? I kinda hate getting updates but having no idea what it changed until i dig in the app for something that looks new
Thanks for this great module I was using some seperate modules from you but one big module is always nice. I can confirm Always Software Menu works on my S5 running CM13. Battery history xxl was working on CM12.1 and I even think it worked on CM13 Unofficial alpha version but on newer CM13 versions it doesn't works anymore. Is it possible to port it over to CM13 one day? And in the past the separate module disable toast icons didn't do anything on my S5 running CM13 for example when I'm in Root Explorer and enable R/W the root message appeared with the SuperSu icon but since 2 days I use the separate module from you NoToastIcons.v0.1-disable-all and that works great no toast icons anymore. I didn't try No toast icons from the All my... module.
Thanks for your great works.
Verstuurd vanaf mijn SM-G900F met Tapatalk
FlemishDroid said:
Thanks for this great module I was using some seperate modules from you but one big module is always nice. I can confirm Always Software Menu works on my S5 running CM13. Battery history xxl was working on CM12.1 and I even think it worked on CM13 Unofficial alpha version but on newer CM13 versions it doesn't works anymore. Is it possible to port it over to CM13 one day? And in the past the separate module disable toast icons didn't do anything on my S5 running CM13 for example when I'm in Root Explorer and enable R/W the root message appeared with the SuperSu icon but since 2 days I use the separate module from you NoToastIcons.v0.1-disable-all and that works great no toast icons anymore. I didn't try No toast icons from the All my... module.
Thanks for your great works.
Click to expand...
Click to collapse
The "No Toast Icons" tweak in this module disables icons in all toasts so it should work for you as well.
Few trivial tweaks already work with CM13 but the rest requires me actually flashing CM13 ROM - which I will do in the upcoming days or weeks on my S5.
XlAfbk said:
thank you for this nice module (and your old ones it replaced for me)
would you please be so kind as to include changelogs in the play store? I kinda hate getting updates but having no idea what it changed until i dig in the app for something that looks new
Click to expand...
Click to collapse
Changes are already reported with Xposed Repo / Play Store releases (or visible from commits on Github).
DaniPhii said:
Minimum brightness is not working in my device. What system apps and/or framework files from my ROM would you need me to send to you to fix it? It's a stock ROM, Android 5.1.1, my phone is a BQ Aquaris M5.
Click to expand...
Click to collapse
It may not work on all devices (because of differences in display drivers/settings etc) plus it probably doesn't lower the minimum brightness when adaptive (automatic) brightness is used (though i didn't investigate that much...).
Great job with the one hand firefox enabler. I can now finally stick exclusively to firefox. Thanks!
moneytoo said:
It may not work on all devices (because of differences in display drivers/settings etc) plus it probably doesn't lower the minimum brightness when adaptive (automatic) brightness is used (though i didn't investigate that much...).
Click to expand...
Click to collapse
I keep adaptive brightness disabled most of the time. If there's anything I can do to help making it work in more devices, you tell me.
Latest version 0.1.3 adds "Chrome Tabs Toolbar On Phone". Normally you could lower your DPI (system wide or per app if that's an option) to get the tabs toolbar in Chrome (that could however make the UI too tiny). The better option is to use "Screen (dp)" option in App Settings which get's the job done just right. This tweak reuses the same hacks to get the tablet layout with tabs in Chrome while it adds one important change - it changes the User Agent back from "tablet" to "phone" so you still get the mobile/phone version of various sites instead of the full featured tablet/desktop ones.
moneytoo said:
The "No Toast Icons" tweak in this module disables icons in all toasts so it should work for you as well.
Few trivial tweaks already work with CM13 but the rest requires me actually flashing CM13 ROM - which I will do in the upcoming days or weeks on my S5.
Changes are already reported with Xposed Repo / Play Store releases (or visible from commits on Github).
It may not work on all devices (because of differences in display drivers/settings etc) plus it probably doesn't lower the minimum brightness when adaptive (automatic) brightness is used (though i didn't investigate that much...).
Click to expand...
Click to collapse
You got also S5. [emoji3] CM13 official nightlies are out but you probably already know that. [emoji6]
Verstuurd vanaf mijn SM-G900F met Tapatalk
Version 0.2 should make all the tweaks compatible with CM13/Android 6.0. If there's any issue, let me know (I didn't check against clean AOSP).
Native Freezer - because there's no longer dedicated disable button on MM, I use the Force Stop button.
Battery History XXL - it works and as usual it not only makes the list longer but also unhides some normally hidden records (when they do not pass some threshold).
I also added one more tweak for Adobe Reader - "Disable Horizontal Scroll". Adobe Reader doesn't provide any feature for cropping white space so this helps me tremendously (after I double tap to the main content). (I'm still sticking to Adobe cause it's still the fastest though I probably could use the cropping in Xodo.)
Hey. I sit on the CM 13. I want to ask you to do, led to work if the battery charge is low, but when connected to a power source - did not work (not displayed, it is charged or charge).
Here comes another tweak in version 0.2.1: "Remap PREV button to PLAY/PAUSE" (PREV = long volume down press) which allows to use volume keys to change volume, advance to next song and play/pause. The "Playback control" needs to be enabled in system Settings (CM).
I have few more volume buttons related hacks in mind... :fingers-crossed:
bonny_k-9 said:
Hey. I sit on the CM 13. I want to ask you to do, led to work if the battery charge is low, but when connected to a power source - did not work (not displayed, it is charged or charge).
Click to expand...
Click to collapse
Well, the current tweak handles the LED based on priority so I'm not sure about your question (really it can't be set in settings?).
Hey there
Im running cm12 since 6 months and i really appreciate you work
Specially native freezer
Im wondering did you made or plan to make a mod to replace recent menu action in navigation bar ?
By default short press bring recent and long press for last app
I hope i you can reverse it to be short press for previous app and long press for recent menu
Update
I forget to thank you again [emoji5]
salimtn said:
Hey there
Im running cm12 since 6 months and i really appreciate you work
Specially native freezer
Im wondering did you made or plan to make a mod to replace recent menu action in navigation bar ?
By default short press bring recent and long press for last app
I hope i you can reverse it to be short press for previous app and long press for recent menu
Update
I forget to thank you again [emoji5]
Click to expand...
Click to collapse
Well, this is user configurable on both CM12.1 and CM13...
moneytoo said:
Well, the current tweak handles the LED based on priority so I'm not sure about your question (really it can't be set in settings?).
Click to expand...
Click to collapse
No. There's only possible to change the color.
@moneytoo
With Native Freezer for 3rd party app Enabled, the Kill Button is disappeared. Is it possible bring it back?
wow..almost all good mod in one module.
one feature request. is it possible to get chrome Desktop Agent on mobile? I like desktop agent instead mobile.
Sent from my SM-N910G using Tapatalk
Do I need to reboot after I enable the tweaks?
Nvm, reboot is required for changes to take effect.
Sent from my bacon!!!!!

[Help] System settings randomly reset

From time to time various system settings get switched to off:
- Device administrators
- Notification access
- Accessibility
I've already deselected all MIUI battery optimizations, so not sure what's happening.
One potential culprit I suspect is Mi Cloud. When it's running a backup, I notice that these settings get reset, along with some other settings (my Nova Launcher; Google Keyboard gets selected as default, whereas I had chosen Swiftkey).
These are the ones that come to mind, or that I've noticed, but there may be others.
Suggestions?
I also notice that Xposed asks to reboot, as if it was switched off and back on.

Launch setting and Android battery optimizations

I very confused about the launch settings options in my Mate 10 Pro under settings -> battery. I understand what it does, but what I dont understand is if this is connected to the native oreo Android battery optimizations or not? If I turn all of the apps in Launch to manual, is the Android managing optimizations still or is everything turned off?
The Launch settings is way to aggressive and makes my phone skip notifications and important stuff is not happening.
After you set your launch control to manual, you have to "exempt from battery optimization" (no idea where in the settings is buried, I just type "exempt" into the search bar in the settings menu)

Downloaded Services won't stay enabled.

In Settings -> Smart assistance -> Accessibility -> Downloaded Services, the apps installed there keep getting turned off.
I'm running Type Machine (keystroke logger) and Smart Launcher, and neither will stay enabled. I can turn them on, then a while later, I'll get a notification that Smart Launcher is unable to turn the screen off, and directs me to this setting, where I find both disabled again. I haven't been able to pin down a time frame yet, although it will happen multiple times between reboots. Neither setting survives a reboot, either.
Anyone seen this before? I've found a few reports of it on Reddit, but no solutions. Can't believe I couldn't find anything about it on here.
Aside from this and other small annoyances like the touchscreen apparently losing calibration, it's a fantastic phone.
I sometimes have this issue with nova launcher as well. You can go battery settings > app launch > turn the two apps to manual manage. It may solve this issue of them auto turning off.
Koong1 said:
I sometimes have this issue with nova launcher as well. You can go battery settings > app launch > turn the two apps to manual manage. It may solve this issue of them auto turning off.
Click to expand...
Click to collapse
Thanks, I've done that and will keep an eye on it to see if that solves the problem.
I have this issue frequently with MacDroid. I have MacDroid set to manual battery control and have excluded it from pretty much all system management. It also has every permission known to mankind.
Oddly, even when Accessibility shows that MacDroid is disabled, sometimes (most of the time) it continues to function. So this may be a UI bug as much as a system disabling the services bug.
The cause I am not sure. I only know the downloaded service for Nova Launcher gets auto turned off if you switch back to Huawei launcher. However, it does NOT get auto switch off when you remain on nova launcher.
stuclark said:
I have this issue frequently with MacDroid. I have MacDroid set to manual battery control and have excluded it from pretty much all system management. It also has every permission known to mankind.
Oddly, even when Accessibility shows that MacDroid is disabled, sometimes (most of the time) it continues to function. So this may be a UI bug as much as a system disabling the services bug.
Click to expand...
Click to collapse
It doesn't seem to affect apps running at all, merely affects certain specific features. In the case of Type Machine, it seems to just be blocking its ability to capture words coming off the keyboard app. The app is still running, I can still see previous captures, it just stops capturing.
With Smart Launcher, it says it's needed specifically to "allow Smart Launcher to expand the notification panel and the quick settings panel".
I changed the power settings per Koong1's suggestion... they turned off again after a while, but I re-enabled both, and they've stayed on ever since. So that may have solved it.
Soundy106 said:
It doesn't seem to affect apps running at all, merely affects certain specific features. In the case of Type Machine, it seems to just be blocking its ability to capture words coming off the keyboard app. The app is still running, I can still see previous captures, it just stops capturing.
With Smart Launcher, it says it's needed specifically to "allow Smart Launcher to expand the notification panel and the quick settings panel".
I changed the power settings per Koong1's suggestion... they turned off again after a while, but I re-enabled both, and they've stayed on ever since. So that may have solved it.
Click to expand...
Click to collapse
You can try restarting your device to check if they stayed enabled. If it does, then they are pretty likely to remain stay enabled in the future.

General How to optimize battery consumption on Realme GT2 PRO.

Hello everyone, I put a little tutorial to maximize the battery life of our Realme GT2 Pro.
As I describe, I have my drive configured. If you want, you can inform in the thread what results your phone now shows you with this configuration.
Greetings.
1.- DEACTIVATE AUTOMATIC UPDATES.
In this way we will avoid that the mobile is constantly looking for updates and therefore consuming battery.
1.1- We go to the Play Store and in Settings / Network Preferences / Update applications automatically, we mark not update applications automatically.
1.2- Once this is done, we go to Settings. We follow the path Settings / About Device, click on 3 of Realme UI, now click on the three dots at the top right, in the window that appears click Auto update and then mark the option "Do not allow", so we disable download automatically.
2.- DEACTIVATE THE WIFI ASSISTANT.
This option allows the mobile to automatically change the network, without us having to be aware of it, but it uses the battery unnecessarily. We are going to configure it to do it manually.
We follow the route Settings / Wifi / Wi-Fi Assistant, enter and deactivate the option "Auto connect to the best Wi-Fi".
3.-DEACTIVATE THE PRINTING SERVICES.
We have these services to connect to printers active all the time and the phone will be constantly looking for printers so that we can connect.
We go to Settings and at the top of the search bar we will write print. Click on the only option that comes out, "Default Print Service", once inside we deactivate it and avoid having it in a continuous search.
4.- DEACTIVATE EXPERIENCE IMPROVEMENT PROGRAM.
We follow the route Settings / About Device / Experience improvement programs and inside we deactivate the two options.
5.- ACTIVATE “OPTIMIZED STANDBY” OPTION.
We follow the path Settings / Battery / Advanced Settings / Optimized Standby, once inside we mark the Balanced Mode option. In this way we minimize energy consumption when the phone is not in use, but without causing delays in receiving messages.
6.- ACTIVATE SMART 5G.
We follow the path Settings / Mobile Network / Advanced Settings, once inside we mark the smart 5G option. We will get it to automatically switch between 5G and 4G reducing battery consumption.
However, in places where there is no good 5G network, it is convenient not to activate it and follow the path Settings / Mobile Network / SIM 1 or 2 / Preferred Network Type and press 4G/3G/2G.
7.- APP QUICK FREEZE
We follow the path Settings / Battery / Advanced Settings / App Quick Freeze.
There we select the apps that we want to restrict their activity in the background.
With this we will restrict the background activity of the selected applications, reducing their activity will also lead to lower battery consumption.
In addition to the above configuration, I also have the following:
Dark mode, manual brightness at 70-80%, Screen Refresh Rate I take it in "High", Screen resolution in FHD +, touch sounds, screen lock sounds, capture sounds, keyboard sounds, all off, vibration off.
In Developer Options:
"Logger buffer sizes", I have it set to 1Mb.
Window animation Scale / Transition animation Scale / Animator duration Scale. All three are by default at 1x, I lowered all three to 0.5x.
Good points ,thanks .
Might also want to include setting screen refresh rate to auto Select
Great guide but I have a question, do you have a smart 5g option? Just got mine today and I'm on the latest version and there is no such toggle.
Disabeling the gaming app also makes a difference for me.
Never used game app. Just disabled ...
If you disable the Google Feed, you also reduce consumption, it will not be active in the background.
IcanBiteYou said:
Great guide but I have a question, do you have a smart 5g option? Just got mine today and I'm on the latest version and there is nobsuch toggle.
Click to expand...
Click to collapse
+1
IcanBiteYou said:
Great guide but I have a question, do you have a smart 5g option? Just got mine today and I'm on the latest version and there is no such toggle.
Click to expand...
Click to collapse
That option is no longer there, with the last update it has disappeared
I think the last update also improved battery life
Laat update did indeed update the battery life. I went from 5 to 7 hours on screen time! Very pleased with this.
Glad to hear that. Hopefully more good fixes are coming.
How are you doing with the battery life?
Spoiler: Battery SOT

Categories

Resources