30% low battery notification - Xperia Z5 Compact Q&A, Help & Troubleshooting

How I can change low battery notification from 30% to 15%?
firmware: 32.2.A.0.253, rooted.

mrLu said:
How I can change low battery notification from 30% to 15%?
firmware: 32.2.A.0.253, rooted.
Click to expand...
Click to collapse
You could try manually editing staminaWarningLevel / Criticallevel integer in SystemUI.apk (from 30 to 15).
Or simply install xposed , Resflux module -> System UI , and edit the value from there. The result is the same but it's much easier, faster and safer than manually editing system apks.
You should try and search the right value that controls the notification.

I installed HideBatteryLowAlert xposed module, now the only alert I get is when battery reaches 15% and asks if I want to enable Stamina.

Related

Low Battery Notification

Hello!
I was wondering if there is a way to disable the low battery notification/warning that windows pops up when the battery reaches the very low level. I searched for some registry hack that allowed me to do this, but only found a way to do this in the Windows Mobile Pocket PC version.
I'm developing an application for Windows Mobile 5.0 and unfortunately the low battery notification is too intrusive, so I'd like to simply disable it (I warn the user of the battery level on my application).
Thanks in advance,
Paulo
Just go to Today-Settings-Personal-Sound & Notification.
Select Notification tab, choose Low Battery from drop-down list, you can disable sound and/or warning message.
If the low battery warning option does not appear in the drop down list, you will need to edit the following registry entry first;
HKEY_CURRENT_USER\ControlPanel\Notifications\{A877D663-239C-47a7-9304-0D347F580408}\
Open the String value with the name "Default" and add the value "Low Batt Warning".
Deafstarr
Thanks! That worked for me.
thanks for the post i have been wondering how to do this.
How to change battery noification levels?
This also worked on my phone DX900 but I don't want to switch off the notification levels but change the levels.
Does anybody know how to change the 30% level to 5% and 10% level to 2%?
I did check Internet but can't find a registry change.
Thanks
OK im new to this. I just got my 910 today. Can someone give me a walkthrough on how to turn this low battery beep off? Its amazingly annoying. Thanks
zackob said:
OK im new to this. I just got my 910 today. Can someone give me a walkthrough on how to turn this low battery beep off? Its amazingly annoying. Thanks
Click to expand...
Click to collapse
Just found it somewere, can't remember where but it works
Customize 'Low Battery' alerts
HKEY_CURRENT_USER\ControlPanel\Notifications\{A877D663-239C-47a7-9304-0D347F580408
Create a String value named "Default"
Set its value to "Low battery warning"
Now go to Start > Settings > Personal tab > Sounds & Notifications applet > Notifications tab, select "Low battery warning" in the "Select an event" drop-down list and you can customize it
Ok i read that earlier, but where do i do that at, where do i edit that registry entry at? Thanks
Eer said:
This also worked on my phone DX900 but I don't want to switch off the notification levels but change the levels.
Does anybody know how to change the 30% level to 5% and 10% level to 2%?
I did check Internet but can't find a registry change.
Thanks
Click to expand...
Click to collapse
Facing the same problem! Anyone knows how to set this?
eselle said:
Facing the same problem! Anyone knows how to set this?
Click to expand...
Click to collapse
Yes, I am using DX900 also & has this problem too. When I used LG KS-20, it warns first at 10% and then at 5%.
Deafstarr said:
If the low battery warning option does not appear in the drop down list, you will need to edit the following registry entry first;
HKEY_CURRENT_USER\ControlPanel\Notifications\{A877D663-239C-47a7-9304-0D347F580408}\
Open the String value with the name "Default" and add the value "Low Batt Warning".
Click to expand...
Click to collapse
I don't see a string called default. Only duration, options, and wave.
I created the default option and it worked fine. I'd really rather know how to disable the 40% warning and leave the 20% one though.
Guys, I think we must be able to solve it our selves...
We have now three phones with six different levels:
Phone, Level 1, Level 2
Voltrons phone, 40%, 20%
DX900, 30%, 10%
LG KS-20, 10%, 5%
It must be a registry value or a value stored in a settings file.
What kind of value is most likely to be stored in the registry? DWORD? Value?
What kind of files has settings of the phone stored in?
low battery notification
how to turn off notification on low batt on samsung galaxy y s5360 its annoying

set cpu settings

what is the best setting for our SGA?
There are no best settings!
It depends on how you use the phone & how you want it to behave. You can use it to improve performance or to save battery or both.
Hit thanks if I helped!
well, u can use some profiles.
press profiles tab, then add profile.
in that select a profile for screen off and set the max to a lower value as we dont use the phone wen the screen is off. This saves some battery. priority:100
create another profile for incall and set the max to a medium value. priority:99
and another profile for temperature>44, set a medium value. priority:98
another profile for charging usb. max slider at medium value. priority:97
profile for battery<21%. max slider at medium value. priority:96
profile for battery<6%. max slider at lower value. priority:95
note: min for all profiles set the lowest. untick stay awake in settings => development.
This is wat i use
and do you see any improvements of the battery life?
camoll said:
and do you see any improvements of the battery life?
Click to expand...
Click to collapse
Yes definitely.
so how long does your battery last?
denclaud said:
so how long does your battery last?
Click to expand...
Click to collapse
well the setcpu settings which i suggested r jst a part of saving battery. U may get few hours more battery. But if u really want to save battery, here is wt i do
-Battery calibration has to be done. "Battery Calibration" app for the calibration:
https://market.android.com/details?i...=search_result
-I use "Juicedefender ultimate"(Just google it and get a pirated copy if u dnt want to buy) - set to "Balanced" profile: (there is a free version, too). Bt ultimate is the best
-"Autostarts" is great for preventing useless apps from autostart. Use it to disable apps wich wil autostart.
-"Auto memory manager" is a great replacement for "Task Killer"( Task killer just kills all apps so they could start again in the background - useless!) Use it in "agressive" mode, apply the mode once and forget about it (and task killing):
-DISABLE automatic syncing and background data!
To save battery, turn off wifi & bluetooth when you are not using them.
- Install APNDroid, to easily switch 3G/EDGE data off when not needed (still allows you to receive MMS messages when data is off, and has a widget)
- Set your screen to the minimum brightness that you can (but so that the display is still bright enough to use)
- Turn off "Power Saving" in display settings (actually uses more power than it saves 9 times out of 10)
- Use auto memory manager
- uninstall 3D gallery(uses lot of battery). instead use "quickpic"(very very fast for viewing images)
-Exiting apps using the back key, home key put the apps to background task.
-use setcpu profiles wich i suggested
I do all of this, and I can get up to 2 and half days(sometimes 3 days) use without charging
Things that will drain your battery the most (highest power usage):
- Wifi
- Bluetooth
- 3G/EDGE
- Screen
- Phone calls
thanks man lets see if this will work.

High Current Consumption in idle state | 200-400 ma

Hey Folks,
I am using Stock with manually removed Bloatware. Root and Xposed are installed. My problem is the high current consumption of my Z5c. I get an average idle consumption between 200-450 ma. On my Z3c the consumption is between 50-150ma in idle state.
I tried several kernel. Stock kernel and androplus v20 - v27, in all kernel i get the same high comsumpition with interactive as governor. Brightness at the lowest and WIFI/DATA off. I use Amplify and in WLD i dont see any Problems. I dont use Facebook, only Whatsapp and GMail. Is somebody have the same problem?
Do you get same values?
Sry for my bad english
You should also check what apps are using CPU power. I had a somehow similar problem and found that some apps were pretty hungry.
I checked it already with a process monitor and the biggest cpu user is always system ui. In the battery usage stats of android, the highest usage come from display and android system.
I reflashed the .163 tft three days ago to start with a fresh installation, but the high consumption has remained.
Then maybe there's a setting that you are always making after flashing the system... Live wallpaper?
I have no other idea at the moment...
No live wallpaper or sth like that. Do anybody know the average ma consumption of Z5c?
Or is it the 810?
xanya said:
No live wallpaper or sth like that. Do anybody know the average ma consumption of Z5c?
Or is it the 810?
Click to expand...
Click to collapse
It's some of the system components or pre-shipped apps,
CM13 e.g. is able to achieve 1% per 4-8 hours or even less in idle (Airplane mode), but Stock ROM seemingly always keeps something in the phone busy,
my current suspicion is the fingerprint scanner, adaptive brightness, tap2wake, etc. - so system-side is keeping kernel-side awake, but wakelock detectors hardly show any wakelocks when most is blocked (e.g. via Amplify)
all of those work without hardly increasing battery consumption in AOSP and CM13;
so the only things left are apps and system services - or proprietary "****" that is hidden behind app-name, services and others
the Snapdragon 810 is a kind of hothead, it consumes quite a lot energy under close to full load but that doesn't explain the idle drain ...
Mine is regularly around 350 give or take a few, that might explain why I only get 4 hours of battery life ?
my widget pro(same app) says -12ma worst case while screen locked
maybe something running at the background
this phone got lot of problems
but battery is the only thing is pretty okay even without stamina
on average usage its about 2 days for me (heavy 1day)
only calls and sms (with data and wifi off even 4-10 days) android 6.0( build.185)
if the battery was li-poly it was abit better
i could solve the problem. It was the xposed module "flat style colored bars" in the current version ( from 2 May 2016; Version 2.1.0), which caused this high idle current consumption. I deinstalled also the latest "goolge play services" update. It was hard to find the guilty.
Now it is back to 100-150ma in idle state. This Thread can be closed.
Thank you for all your help.
xanya said:
i could solve the problem. It was the xposed module "flat style colored bars" in the current version ( from 2 May 2016; Version 2.1.0), which caused this high idle current consumption. I deinstalled also the latest "goolge play services" update. It was hard to find the guilty.
Now it is back to 100-150ma in idle state. This Thread can be closed.
Thank you for all your help.
Click to expand...
Click to collapse
How did you narrow it down to that app? I don't have that module installed but use xstana. That could be my problem.
First i listed the running cpu process per adb shell (root, with command top). The Sony Photo Analyzer used up to 20% of the cpu every time, so i removed it. After that, the System UI used the most of the cpu all time. I disabled all xposed modules for testing and voila the consumption was back at 100ma. So i go through the list and enabled the modules one by one and restarted it.
I am using XStana in the latest version, so it could be not the problem in your Phone.
My List of Xposed Modules:
Amplify, AppOpsXposed, Battery Home Icon, Blurred System UI (LP), BootManager, Flat Style Colored Bars (Version 2.0.1), GravityBOX (MM), Navbar music Visualizer, Prevent Running, XLED, XStana, XUIMod, YoutubeAdAway, Youtube Background Playback
So you see, i am using lot of modules, but the perfomance and battery consumption is as normal.
Hope i could help you with this information. It was very time-consuming to find the problem. You should also checkout google play services, revert back for testing to the last version if you dont find any other problem.

s9+ battery draining

My bat is being drained out quite fast. Android os and kernel together uses about 30% of battery all the time as shown by gsam battery.
Can someone guide me how I could reduce or restrict unused processes.
abhyusandy said:
My bat is being drained out quite fast. Android os and kernel together uses about 30% of battery all the time as shown by gsam battery.
Can someone guide me how I could reduce or restrict unused processes.
Click to expand...
Click to collapse
Disable auto brightness, disable all advanced settings that use sensors, disable notifications of apps that you dont need norifications including system apps, in each app click on battery and disable background running. Freez apps that you dont need and system dont need. Disable smart manager storage options, disable smart manager battery monitor (i use greenify). Use black theme. Disable auto update and "keep mobule data on" on developer settings. Remove google search bar on homescreen, and if you have samsung music widget it keeps musoc on background too. Change wallpaper for non-infinity. Disable iris or fast unlocking. Depend on your kernel, block all wifi, bluetooth and nfc wakelocks. Could be magisk draining too.
marquelito said:
Disable auto brightness, disable all advanced settings that use sensors, disable notifications of apps that you dont need norifications including system apps, in each app click on battery and disable background running. Freez apps that you dont need and system dont need. Disable smart manager storage options, disable smart manager battery monitor (i use greenify). Use black theme. Disable auto update and "keep mobule data on" on developer settings. Remove google search bar on homescreen, and if you have samsung music widget it keeps musoc on background too. Change wallpaper for non-infinity. Disable iris or fast unlocking. Depend on your kernel, block all wifi, bluetooth and nfc wakelocks. Could be magisk draining too.
Click to expand...
Click to collapse
Might as well just get a dumb phone with all that disabling
Sent from my SM-G965U using Tapatalk
shook187 said:
Might as well just get a dumb phone with all that disabling
Click to expand...
Click to collapse
No dumb phone here :good:
131 user apps, all system apps excluding freezed (screenshot). Auto-sync on, magisk, xtrememusic mod, viper, substratum with mods and theming. Notifications only on for apps that i need notification, dont need it in adaway, calendar for exemple. WQHD+ resolution, brightness at middle. And many system and user apps greenifyed
abhyusandy said:
My bat is being drained out quite fast. Android os and kernel together uses about 30% of battery all the time as shown by gsam battery.
Can someone guide me how I could reduce or restrict unused processes.
Click to expand...
Click to collapse
When you say they're using 30%, do you mean they're using 30% of the app usage? I.e. in the screenshots the app usage is 60%, in the second the android system/ kernel = ~23% so they're only using 15% which isn't as bad. Also depends on your usage. I.e. system and kernel will be high if your phone is just sitting around all day, will be lower if you're using it and the screen is burning power. Suggest you use it from 100% to <15% then upload some GSAM stats showing the front page, apps, screen and signal pages.
You can do good housekeeping and just remove notification/ location permissions for all the apps that don't need them.
Can also remove some services using ADB commands if you want to although sceptical of how much difference it makes without root

Question Battery Charge Limit - where is CTRL file?

I am unable to get the Battery Charge Limit app to work on the TMOBILE variant of this device. The app allows you to set start/stop charging %, which helps prolong battery state.
Does anyone know where the control file is located? I tried searching in /sys/class/* but couldn't find anything like chg_enabled or something similiar.
For OP9Pro, the file is located here: /sys/class/oplus_chg/usb/chg_enable
For OPN200, I don't know
Doing a
find . 2>/dev/null | grep charg
Click to expand...
Click to collapse
gave me
/sys/devices/virtual/oplus_chg/battery/mmi_charging_enable
Click to expand...
Click to collapse
Writing 0 to this file disables charging and writing 1 enables charging. Note that the charging icon shows that the battery is charging if the device is plugged in even if the file has a 0, but checking with a battery app will show that charging is disabled.
I also noticed that the battery charge limit app doesn't work if you start the app when the battery is already above the maximum limit, it only works if you start the app with the battery at or above the limit you set in the app.
Also I didn't realize this but you can also use ACC and run
acc -p
Click to expand...
Click to collapse
to find likely control files. useful to know for switching to a new device and trying to find a control file.
aznxwill said:
I am unable to get the Battery Charge Limit app to work on the TMOBILE variant of this device. The app allows you to set start/stop charging %, which helps prolong battery state.
Does anyone know where the control file is located? I tried searching in /sys/class/* but couldn't find anything like chg_enabled or something similiar.
For OP9Pro, the file is located here: /sys/class/oplus_chg/usb/chg_enable
For OPN200, I don't know
Click to expand...
Click to collapse
any luck with this? been unable to get it working on mine as well
l0csta said:
any luck with this? been unable to get it working on mine as well
Click to expand...
Click to collapse
It seems @towardsdawn is spot on.
I configured Battery Charge Limit (you can find in Playstore) to use the charge control file located here:
Code:
/sys/class/oplus_chg/battery/mmi_charging_enable
And it seems to work. If the current battery % is HIGHER than the STOP CHARGE %, then the Battery Charge Limit application will say DISCHARGING but battery icons from homescreen and lockscreen will indicate it's charging. Even though battery icon from homescreen and lockscreen says it's charging, I did not see battery % increase.
If you charge the phone when it's BELOW the STOP CHARGE %, then the Battery Charge Limit application will say it's charging and the battery % will increase after some time until it reaches STOP CHARGE %.
Overall, it seems to work, it's just the battery charging status from Battery Charge Limit app and phone icons are not aligned. One thing I do notice is if current % is ABOVE the STOP CHARGE %, then it will stay at that % while plugged in.
just a heads up, make sure to disable battery saver as well as advanced battery optimizations when charging, these modes will kill the Battery Charge Limit app even if you have it set to "Don't optimize". had some issues getting it to work overnight and doing this worked for me.
a little ironic isn't it
looks like I spoke too soon, I fiddled around with the settings and still can't get it to work consistently. sometimes it works, sometimes it doesn't. I switched to ACCA and that works much better.
aznxwill said:
It seems @towardsdawn is spot on.
I configured Battery Charge Limit (you can find in Playstore) to use the charge control file located here:
Code:
/sys/class/oplus_chg/battery/mmi_charging_enable
And it seems to work. If the current battery % is HIGHER than the STOP CHARGE %, then the Battery Charge Limit application will say DISCHARGING but battery icons from homescreen and lockscreen will indicate it's charging. Even though battery icon from homescreen and lockscreen says it's charging, I did not see battery % increase.
If you charge the phone when it's BELOW the STOP CHARGE %, then the Battery Charge Limit application will say it's charging and the battery % will increase after some time until it reaches STOP CHARGE %.
Overall, it seems to work, it's just the battery charging status from Battery Charge Limit app and phone icons are not aligned. One thing I do notice is if current % is ABOVE the STOP CHARGE %, then it will stay at that % while plugged in.
Click to expand...
Click to collapse
Battery Charge Limit is one of my fav apps.
I thought that you have to have root to use this app, no?
Could you provide a beginner's guide on your method? Noobs need it!
clu1688 said:
Battery Charge Limit is one of my fav apps.
I thought that you have to have root to use this app, no?
Could you provide a beginner's guide on your method? Noobs need it!
Click to expand...
Click to collapse
Here is a quick guide to using ACCA which I find to work much more consistently on the Nord N200 than Battery Charge Limit:
Unlock bootloader (see this thread, I used the debloat script. make sure to remove the line that gets rid of Gboard)
Root your phone with Magisk (see this thread)
Visit this website to download F-droid, then in the F-droid client download ACCA. ACCA will say installation failed for some reason, but it still works
Edit the default profile under the Profiles tab.
Under Capacity Control edit Charging switch.
Click Add Charging Switch.
Type in
Code:
/sys/class/oplus_chg/battery/mmi_charging_enable
for charging switch
Type in 1 for On value and 0 for Off value. Click ok.
Tap on the new charging switch. Click Test charging switch with the charger plugged in. It should popup saying the switch works, if it doesn't then you'll have to troubleshoot that.
Click Save.
Edit the other settings to what you want, then click the save icon in the top right.
Tap on the default profile to switch to it.
You may or may not need to do this, but under android battery settings I disabled battery optimization for ACCA and I also turned off all of the advanced optimization settings.
towardsdawn said:
just a heads up, make sure to disable battery saver as well as advanced battery optimizations when charging, these modes will kill the Battery Charge Limit app even if you have it set to "Don't optimize". had some issues getting it to work overnight and doing this worked for me.
a little ironic isn't it
looks like I spoke too soon, I fiddled around with the settings and still can't get it to work consistently. sometimes it works, sometimes it doesn't. I switched to ACCA and that works much better.
Click to expand...
Click to collapse
Seems I am running into same issue - sometimes it works and sometimes it doesn't with Battery Charge Limit. I'll check out ACCA.
@clu1688 - you should check out the post above mine with ACCA. It seems Battery Charge Limit app doesn't work consistently.

Categories

Resources