Fix WP7 HD2 Battery Indicator Level - HD2 Windows Phone 7 Development

Guys i have found a way to fix battery indicator to show the battery level as it should be...
1) First of all charge your phone
2) After that go to registry editor on your phone and go to
Code:
[B]Local machine/system/state/batteryux/MainIntervalIndex[/B]
and change the value from 6 (or any value it shows there) to 20...now press OK! You wil see that the battery level on top has been changed!
Now again edit it and go from 20 to 80 and press OK...
RESTART YOUR PHONE AND THEN CHARGE IT!
Now you will see that the battery level has changed and shows the battery level like it should be...
Until now it seems like its working... Will leave it unti later to see if the battery will continue to show the correct level...
Try it and tell me your thoughts!
You can find the registry editor attached.
DO IT ON YOUR OWN RISK..MESSING WITH REGISTRY IS DANGEROUS! I AM NOT RESPONSIBLE FOR ANY DAMAGE CAUSED TO YOUR PHONE!
Find more registry tweaks here:
Code:
[URL="http://forum.xda-developers.com/showthread.php?t=907971"]http://forum.xda-developers.com/showthread.php?t=907971[/URL]

Great work!
I will try and report later.
Thanx

Ok after some tests it seems like the value changed by its self... From 10 to 5 and level shows less than the middle.. I tried to change it to 80.. Will test more until i find the correct one

arkatis said:
Guys i have found a way to fix battery indicator to show the battery level as it should be...
1) First of all charge your phone
2) After that go to registry editor on your phone and go to
Local machine/system/state/batteryux/indicator and change the value from 6 to 10...
Click to expand...
Click to collapse
Sorry, but i don't have the indicator value and i can't change it.
I only have Local Machine/System/State/BatteryUX/MainIntervalIndex

pekas said:
Sorry, but i don't have the indicator value and i can't change it.
I only have Local Machine/System/State/BatteryUX/MainIntervalIndex
Click to expand...
Click to collapse
My mistake mate! Yeap this is the correct path! Change it from 6 (or any value that shows there) to 20 and from 20 to 80 and it should work like it supposed to be!
Something that i noticed is that the value is Dynamic (means that the value changes by it's self) You just make the trick and it should work!

It's been 1 hour now and it seems that the battery indicator shows the correct level! So i must say that this tweak works!
Too give you an idea of what this tweak is about! Some guys here says that the Radio plays a Big Role in battery life... Imo this have nothing to do with the battery drainage of your phone... Your Battery indicator shows false levels of the battery! E.x you charge your phone for 1 hour and battery is about 60% when you unplug it! WP7 doesn't know the correct battery level because of a false value in registry!
This "BETA" tweak will fix this problem..

Confirm me this is working.
and i post it in WP7 registry thread.
Thanks
i've just apply it i don't know yet if this work.

Glad it worked for you also guys! Thanks!

It doesn't work for me
Can u post a screenshot to see how it looks like?

pekas said:
It doesn't work for me
Can u post a screenshot to see how it looks like?
Click to expand...
Click to collapse
Ok here is the thing:
1)charge your phone until the green light shows up
2)unplug it from A/C and open registry editor
3)go to the reg path
4)edit the value from 6 to 20...press ok..Now you will see the battery indicator level has been changed! Again go and edit the value and from 20 go to 80..press ok! Restart and enjoy!
To see that this is working.. go and edit the value and put number 4 or 2! The indicator will show you that you have 40%-50%..
So if you edit it again and follow the instructions you will see that the battery level will now show 80%-90% which is correct because you charged your phone before!
I can't see any " virtual battery drainage" anymore because the indicator now shows the correct batt level!
Tell me your results!

Yeap, it's working.
Thanx

whats the recomended registry editor.....
thanks

Original Value keeps coming back...
I am puzzled...my phone's led turns green, next I unplug it, open reg editor, my value is @ 11. Next I change it to 20, confirm OK (no change on batt indicator btw), then change it to 80 and restart. Cell boots up with full batt indicator. I plug it in, it's charging for couple mins, and again hits green light. When I view the registry key, value is back on 11 .
Any suggestion or correction regarding my description would be appreciated

godwinvandamme said:
whats the recomended registry editor.....
thanks
Click to expand...
Click to collapse
There's a link in the starting post. You'll need WP development tools in order to deploy this app onto your device

LuckTR said:
I am puzzled...my phone's led turns green, next I unplug it, open reg editor, my value is @ 11. Next I change it to 20, confirm OK (no change on batt indicator btw), then change it to 80 and restart. Cell boots up with full batt indicator. I plug it in, it's charging for couple mins, and again hits green light. When I view the registry key, value is back on 11 .
Any suggestion or correction regarding my description would be appreciated
Click to expand...
Click to collapse
Good Question mate! As i said the value is dynamic and it can change to anything!
This is weird though cause when i made the tweak and checked back in registry my value were 6 again! But....no battery drainage after that! I don't know why but still my phone's juice is above the middle! (which is logical because i fully charged my HD2) So make the tweak, test it a couple of hours,check if the battery "drainage" it's logical and report here!
I Confirm that this is working real nicely!

Arkatis, pal, you're absolutely right. The value always comes back down to whatever it was originally (11 in my case), but my battery life went simply through the roof. I went running while listening to the music, made couple phone calls via BT handsfree, checked marketplace (via cell data) and sent some messages...still sitting almost on full. My batt would be at least 1/4th down before I performed the reg tweak that you've suggested. Dunno what you did, but I like it . Btw, did you notice that there's another key @ HKLM\System\State\Battery with numeric variable called VALUE DATA? Let us know if you dare to tinker with that one . Thanks lot for your outstanding tip, pal!

What if your battery is almost at the end and you still thinks it is almost full? You've changed something visual maybe? Think about it.
Sent from my HTC HD2 using XDA App

in the Registry Editior come this
Acess to the registry key ``HKEY_Local_Maschine\System`` is restricted.
is this normal? I use Registry Editor version 1.0.1.0 beta of Touchxperience

Simply get ver1.4 of the Reg Editor Schaps always adds new features to it and access to more keys
I'm trying out the tweak right now. So far I got the result of LuckTR (11 in registry, device reboots with full indicator , but charges). Will report back later how battery life is.

TheOnly1 said:
Simply get ver1.4 of the Reg Editor Schaps always adds new features to it and access to more keys
I'm trying out the tweak right now. So far I got the result of LuckTR (11 in registry, device reboots with full indicator , but charges). Will report back later how battery life is.
Click to expand...
Click to collapse
can you please me the download link, Thanks
EDIT: i have found the right version

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

[Q] Brightness Issue

Just wondering, did anyone else notice that when you try going to max brightness (from settings->display) it only goes to 99%? And if you try going to 100% with widgets, the screen gets brighter all the way till 99% and then when it hits 100 it gets a lot dimmer
Anyone else noticed this? Or is this bug specific to my poor unrooted X10a ?
I went to the Setting -> Display and Un-check Auto but I did not get the % scale, it just a scroll bar without any number in it, but it went all the way up and down as well. Maybe depends on the firmware in the phone...
roaringhere said:
I went to the Setting -> Display and Un-check Auto but I did not get the % scale, it just a scroll bar without any number in it, but it went all the way up and down as well. Maybe depends on the firmware in the phone...
Click to expand...
Click to collapse
Yea you can't see the number over there.. you need a widget for that. But if you slide it to the maximum possible, and then look at the number in a widget(I've tried 4 so far, so its not a widget problem) it says 99%, if you make that 100 through the widget, it dims.
I guess SE knew this and made the max brightness 99%?
Yea it happens to me too. I use Quick settings and when I slide to 100%, it dims. But it's not really a big deal cuz I set my phone at 18-20%. Saves a lot of battery
same here ...
100% is just like 10%
Yes i noticed that to! I was looking for a widget to controll backlight, found one that looked pretty and got a bit sad couse i thought it was faulty for not working correct so i uninstalled it. Nice to know the reason for why things not work
Sent from my X10i using XDA App

[UPDATED 24.12.10] TG01 battery life - an experiment, an observation

Update on 24.12.10 - My phone hasn't frozen or switched off on it's own since I made these changes! The battery life constantly stays real good. I have only charged my battery up to 100% TWICE in 4 days!! I think this trick works! I will really appreciate if more testers come forward and help us test this
What will this mean?
This will mean that we can make TG01 battery stay minimum of 24 hours and maximum upto 38-40 hours with good amount of browsing, calls, texts, games, ALSO keep exchange sync on forever!!
In total before my battery completely died, I was able to do the following:
2357 minutes of stand-by (includes the activities as well)
137 minutes of browsing
3 Downloads (total less than 10MB)
180 minutes of calls
36 text messages
21 email downloads using Exchange sync - that was ON all the time
60 minutes of gaming
18 pictures taken using camera
12 minute video recorded using camera
1 round of back up and virus scan
This is what I've done:
Installed SPB Shell here
Removed Taskbar (was a cab file in miROM4 that I am using)
Removed Start Menu (I have attached cab that I used to remove start menu)
Before you remove start menu or taskbar - PLEASE make sure you have full functioning SPB Shell installed. You will loose WinMo start menu and notifications (see attached pic) so you will rely solely on SPB Shell ONLY
On miROM4 by removing start menu and taskbar the original free RAM (96MB) increases upto 105+MB - I don't know how, I don't know why. This is my observation and testing!When you install SPB Shell, you will notice the RAM going down to 78-80MB on boot. - I don't think it's bad either.
Now you might wonder what's so different.
Someone did an experiment showing that by running apps the battery drain was 20% compared to stock ROM
Another experiment also led to show that battery drain mostly is not a ROM issue
I am no tech, I am no expert. This is my pure observation and my experimentation with TG01. I know the links I've quoted are for HTC mainly, but I suppose theory still stays. If any one is willing to replicate those experiments on their TG01 please feel free to collaborate with me.
I have updated all my uses on TG01 between 100% battery and 0% battery.
After 100% charging the battery,
Just to re-fresh what I have done with it apart from leaving it on 'stand-by'
I am running SPB Shell with it.
Using Opera 10 browser for facebook, bing, google (approx browsing 97 minutes till now)
I have read news on Evening standard and BBC (approx time 35 minutes till now)
I have downloaded recipe for 2 cocktails
I have made 6 (appox. 147 minutes in total) phone calls
I have sent 31 text messages
My active sync is on since 10pm as I have set my exchange email retrieval 'as item arrives' - so it has downloaded 14 email items at different times. Experiments have shown that results are quite bad when it comes to using Exchange Active Sync schedule 'as item arrives'
I have played Sudoku (about an hour)
I have left my backlight at 70% (on SPB you have an option)
My battery life after 18 hours 30 minutes is 80% with free ram of 78-80% without any processes running i.e. on stand-by!!
1 call (33 minutes long)
5 text messages
2 games (56 minutes total) of puzzle
Facebook using Opera 10 (updated status, replied few messages, browsed mainly)
Downloaded tube map from a website using Opera 10
Took about 18 pictures using TG01
Cleaned RAM, Virus scanned and did an online back up.
After 27 hours 22 minutes - my battery life remaining is 50%
Made 0 phone calls, 0 texts
My active sync downloaded 7 emails
I checked XDA website for about 20 odd minutes using Opera 10
I used facebook for 10 minutes using Opera 10
I recorded a video of length 12 minutes
All this time my wifi and data connections were switched 'ON'
39 hours 17 minutes - my battery is 0% and my TG01 switched off!!
Putting all these links together, I think if ROMs don't affect the battery drain, but by removing these two elements if my phone survives in adverse conditions i.e. exchange email (shown above link) and running apps/games (shown above link) - then it had to be either of these two elements or settings behind them that drain our TG01's battery!
EDIT: Yes, Oly after removing taskbar, when we press on 'Start button' it freezes the mobile. We don't need to remove battery to get rid of the freeze. Just few seconds and it comes back to normal. But to avoid that occuring, I used the attached cab. That cab removes start menu from the face of my WinMo. PS: This cab is NOT my creation. I have found it on XDA. ALL the credit for this cab goes to NRGZ28 - this cab will prevent making RegEdits
THUMBNAILS' LEGENDS:
1) How the 'Today' screen looks without taskbar and Start Menu Icon
2) How the SPB Menu replaces my WinMo start menu
3) How the SPB Menu replaces my WinMo start menu
4) How the SPB Menu replaces my WinMo start menu
5) How the SPB Menu replaces my WinMo start menu
6) How the SPB home screen looks without taskbar
drupad2drupad said:
OK GUYS .....
Removed start menu
Removed taskbar.
..............
Click to expand...
Click to collapse
Sounds exciting! How did you remove start menu and task bar?
Pere said:
Sounds exciting! How did you remove start menu and task bar?
Click to expand...
Click to collapse
I had DarkNinja task bar pre installed as cab from miROM4 - I removed it. It sort of 'disables' the start menu, but after that I removed start menu using one of the 'remove start menu keep x button' cabs and then eventually even removed 'x' button most programs respond to <- key at bottom.
I could attach cabs if you want but basically removing taskbar will remove all your icons on top and just leave the clock - it makes SPB Shell look nicer as well!
It been 27 hours and 21 minutes as I type and my phone's battery is 50%. I am going to edit the amount of tasks I have done in these 27 hours.
Hey drupa2drupad! Nice thread! I'm using similiar methods to you, but my battery is still awful! what battery are you on? Im on the stock toshiba one... i have spb shell running, opera 9.7 for abt 10-15 minutes, and the battery is 90% and opera 9.7 is meant to be more friendly for the battery,,, i have also diasabled the start emnu... i have had this layout for many months now and cannot reach battery levels as good as yours!
olyloh6696 said:
Hey drupa2drupad! Nice thread! I'm using similiar methods to you, but my battery is still awful! what battery are you on? Im on the stock toshiba one... i have spb shell running, opera 9.7 for abt 10-15 minutes, and the battery is 90% and opera 9.7 is meant to be more friendly for the battery,,, i have also diasabled the start emnu... i have had this layout for many months now and cannot reach battery levels as good as yours!
Click to expand...
Click to collapse
Hi Oly,
I am using stock toshiba as well - the one that came with my phone.
Did you remove the taskbar too? I am meaning to upload a screenshot of how my phone looks without taskbar. I am inclined to believe it's got something to do with removal of taskbar more than removing start menu. I have tried removing start menu on it's on and I had same result - Opera 10, draining 10% every 20 to 30 minutes of browsing.
I had desire taskbar installed as cab, I removed it! I am going to get some screen shots in first post
Hi Drupad,
Nice thread!! One thing I noticed was that disabling the start menu also gives 15-20mb free ram and it significantly improves battery life, disabling the sleep mode led and turning on wifi when not needed also helps!
P.S: After disabling windows start menu, I overided it with SPB Menu which is now my default Start Menu!
drupad2drupad said:
Hi Oly,
I am using stock toshiba as well - the one that came with my phone.
Did you remove the taskbar too? I am meaning to upload a screenshot of how my phone looks without taskbar. I am inclined to believe it's got something to do with removal of taskbar more than removing start menu. I have tried removing start menu on it's on and I had same result - Opera 10, draining 10% every 20 to 30 minutes of browsing.
I had desire taskbar installed as cab, I removed it! I am going to get some screen shots in first post
Click to expand...
Click to collapse
Hmmmm... I wonder how the taskbar removal makes a big impact on the battery life! I can understand the start menu, basically all your icons in the start menu are cached into the ram, so removing it will consume less resources , more battery life etc etc. But how doesit work with the taskbar? Im using the stck taskbar on Mangosora's 6.5.3 build with spb shell + mobilesense.
Nice thread
gizmogeeker said:
Hi Drupad,
Nice thread!! One thing I noticed was that disabling the start menu also gives 15-20mb free ram and it significantly improves battery life, disabling the sleep mode led and turning on wifi when not needed also helps!
P.S: After disabling windows start menu, I overided it with SPB Menu which is now my default Start Menu!
Click to expand...
Click to collapse
Yes i did that too on ffboys 6.5 rom(spb menu for startmenu) unfortunately it does not work for 6.5.3
Drupad, im guessing when u use the phone now, pressing the start softkey freezez your device?
Use the reg tweak to make the start button disappear (like the HD Mini)
You can find it by searching on the forum,
'HD Mini Start Key disabler' (something like that)
olyloh6696 said:
Hmmmm... I wonder how the taskbar removal makes a big impact on the battery life! I can understand the start menu, basically all your icons in the start menu are cached into the ram, so removing it will consume less resources , more battery life etc etc. But how doesit work with the taskbar? Im using the stck taskbar on Mangosora's 6.5.3 build with spb shell + mobilesense.
Nice thread
Click to expand...
Click to collapse
Probably, the battery difference is due to the start menu alone and not the taskbar because he removed both.
olyloh6696 said:
Yes i did that too on ffboys 6.5 rom(spb menu for startmenu) unfortunately it does not work for 6.5.3
Drupad, im guessing when u use the phone now, pressing the start softkey freezez your device?
Use the reg tweak to make the start button disappear (like the HD Mini)
You can find it by searching on the forum,
'HD Mini Start Key disabler' (something like that)
Click to expand...
Click to collapse
That's weird, I've got winmo 6.5.5 and the start menu disable works for me...
gizmogeeker said:
Hi Drupad,
Nice thread!! One thing I noticed was that disabling the start menu also gives 15-20mb free ram and it significantly improves battery life, disabling the sleep mode led and turning on wifi when not needed also helps!
P.S: After disabling windows start menu, I overided it with SPB Menu which is now my default Start Menu!
Click to expand...
Click to collapse
Thanks!! I liked what I was experimenting and I thought more than 1 person analyzing what all these means, obviously made more sense
Yeah even Oly suggested he had free RAM (15MB) on disabling start menu so am sure about RAM now. I did use Wifi most of the time as well as data connection when I used Opera 10 for browsing. Did not disconnect data connection because it reconnected immediately - reason being my exchange sync set to 'retrieve as item arrives'
My start menu is SPB Menu as well Looks cooler, non-WinMo sort as well
olyloh6696 said:
Hmmmm... I wonder how the taskbar removal makes a big impact on the battery life! I can understand the start menu, basically all your icons in the start menu are cached into the ram, so removing it will consume less resources , more battery life etc etc. But how doesit work with the taskbar? Im using the stck taskbar on Mangosora's 6.5.3 build with spb shell + mobilesense.
Nice thread
Click to expand...
Click to collapse
Thanks Oly!
I don't know if taskbar has got much to do with battery, but I did see quite a few reg-entries i.e. magnification etc - do they relate to taskbar? By removing taskbar, do I essentially switch these flickers off? Do you think anything i.e. notifications etc are being cached in ram as well? (non-educated guess!)
olyloh6696 said:
Yes i did that too on ffboys 6.5 rom(spb menu for startmenu) unfortunately it does not work for 6.5.3
Drupad, im guessing when u use the phone now, pressing the start softkey freezez your device?
Use the reg tweak to make the start button disappear (like the HD Mini)
You can find it by searching on the forum,
'HD Mini Start Key disabler' (something like that)
Click to expand...
Click to collapse
I have attached the cab in first post - this is the one I used to get rid of 'start' button completely. Yes my phone did freeze for few seconds to upto a minute, but came back to normal as soon as my screen locked! But after this cab, no problem at all! I think you can definitely have SPB menu as start menu - as it has got everything you need! I have 6.5.3 miROM4 as well and I was able to do it and use it flawlessly. I will try to put some more screenshots
gizmogeeker said:
That's weird, I've got winmo 6.5.5 and the start menu disable works for me...
Click to expand...
Click to collapse
+1
gizmogeeker said:
Probably, the battery difference is due to the start menu alone and not the taskbar because he removed both.
Click to expand...
Click to collapse
+1 and then -1
I agree it has to be start menu but don't know if it's alone because Oly has disabled start menu for quite a few months now and he din't seem to notice this drastic change :s
If you guys see any changes by removing taskbar (if you are going to ) then please post back, may be we could be improving our battery lives
drupad2drupad said:
Thanks!! I liked what I was experimenting and I thought more than 1 person analyzing what all these means, obviously made more sense
Yeah even Oly suggested he had free RAM (15MB) on disabling start menu so am sure about RAM now. I did use Wifi most of the time as well as data connection when I used Opera 10 for browsing. Did not disconnect data connection because it reconnected immediately - reason being my exchange sync set to 'retrieve as item arrives'
My start menu is SPB Menu as well Looks cooler, non-WinMo sort as well
Thanks Oly!
I don't know if taskbar has got much to do with battery, but I did see quite a few reg-entries i.e. magnification etc - do they relate to taskbar? By removing taskbar, do I essentially switch these flickers off? Do you think anything i.e. notifications etc are being cached in ram as well? (non-educated guess!)
I have attached the cab in first post - this is the one I used to get rid of 'start' button completely. Yes my phone did freeze for few seconds to upto a minute, but came back to normal as soon as my screen locked! But after this cab, no problem at all! I think you can definitely have SPB menu as start menu - as it has got everything you need! I have 6.5.3 miROM4 as well and I was able to do it and use it flawlessly. I will try to put some more screenshots
+1
+1 and then -1
I agree it has to be start menu but don't know if it's alone because Oly has disabled start menu for quite a few months now and he din't seem to notice this drastic change :s
If you guys see any changes by removing taskbar (if you are going to ) then please post back, may be we could be improving our battery lives
Click to expand...
Click to collapse
hi drupad! sorry i had a typo in my other post... i was meant to say i can sucessfully disable the start menu on 6.5.3/6.5.5 , but i cannot get it to open up the spb menu in the spb settings. there is no option for it... i will try and post screenshots soon! also i have been using this technique for months and having noticed a battery performance increase because i thought it was to do with the ROM i changed from ... i guess it does make a big difference! i will try and disable my task bar and report back! im not to sure if disabling the task bar stops your notifications caching in the RAM. perhaps someone else could help us out?
hi drupad ! just reading through your first post again, the guy who created the cab is NRGZ28. he is one of the most respected members of XDA! he creates his energy rom series for like all htc devices and updates them all once a week!
olyloh6696 said:
hi drupad ! just reading through your first post again, the guy who created the cab is NRGZ28. he is one of the most respected members of XDA! he creates his energy rom series for like all htc devices and updates them all once a week!
Click to expand...
Click to collapse
Thanks a lot for that mate will update first post tonight when I reach home! I wish more users could test this and give feedback.
I might have just made this battery issue 'not so severe' any more with these observations!!
Another thing I just realized is I haven't restarted my phone at all - The last time I switched off my phone was when I completely ran out of battery during this 'experiment'!
My phone seems to have stopped freezing. Its 4th day now!!
drupad2drupad said:
thanks a lot for that mate will update first post tonight when i reach home! i wish more users cud test this and give feedback. we might have just made this battery issue 'not so severe' any more!!
Another thing I just realised is I havent restarted my phone at all! My phone seems to have stopped freezing. Its 4th day now!!
Click to expand...
Click to collapse
thats great! we can solve the problem with the freezing on wm! dont worry, more users will come soon!
olyloh6696 said:
thats great! we can solve the problem with the freezing on wm! dont worry, more users will come soon!
Click to expand...
Click to collapse
updated!
Also, did the poll we talked about
drupad2drupad said:
updated!
Also, did the poll we talked about
Click to expand...
Click to collapse
nice! thanks drupad
Hi.
I do not belive in miracles in electricty area but decided to sacrifice myself and test miROM4. I remove wm start by mirolg .cab "miROM_MMLauncher_Mod_Startmenu_Replacement.cab" and removed "Dark NInja Android xxxxxx". I did only "natural" test so far, by configuring SPB for my purposes
what took several minutes of time and battery has lost 20% . ( in my appinion quite normal for 1000mAh battery because of backlight was still on and few minutes of GPRS and Wi-Fi was done and this is what I observed on any ROM I tested so far).
Anyway, now I am charging battery to 100% and will do some more tests.
What annoy me after removing task bar is that I have not any information whether I have active GPRS or Wi-Fi connection and I have not any speed mechanism to disconnect ( what could be done very simply via notification bar). Have You got any idea what to with it ? Maybe SPB has any widget for it ?
Regards
fxdjacentyfxd
fxdjacentyfxd said:
Hi.
I do not belive in miracles in electricty area but decided to sacrifice myself and test miROM4. I remove wm start by mirolg .cab "miROM_MMLauncher_Mod_Startmenu_Replacement.cab" and removed "Dark NInja Android xxxxxx". I did only "natural" test so far, by configuring SPB for my purposes
what took several minutes of time and battery has lost 20% . ( in my appinion quite normal for 1000mAh battery because of backlight was still on and few minutes of GPRS and Wi-Fi was done and this is what I observed on any ROM I tested so far).
Anyway, now I am charging battery to 100% and will do some more tests.
What annoy me after removing task bar is that I have not any information whether I have active GPRS or Wi-Fi connection and I have not any speed mechanism to disconnect ( what could be done very simply via notification bar). Have You got any idea what to with it ? Maybe SPB has any widget for it ?
Regards
fxdjacentyfxd
Click to expand...
Click to collapse
Hi fxdjacentyfxd
I din't really look into monitoring speed of connections. I used widgets to mIake sure how much battery I have, if I am connected to wifi or not. When I was connected to data connection - I just checked if I am connected or not by using 'Connections' in the settings.
I am keeping my backlight at 30% now most of the time. I have seen even 10% makes it better, but my eyes don't really like that dark so I keep it 30%. May be that will help as well?
I have used it this way since - and also changed to miROM10 now, and still don't charge my battery at least before 30 hours of use! - which I find to be good battery life for daily smart phone use
Good luck and thanks for trying this, will wait for your feedback
drupad2drupad said:
I din't really look into monitoring speed of connections. I used widgets to mIake sure how much battery I have, if I am connected to wifi or not. When I was connected to data connection - I just checked if I am connected or not by using 'Connections' in the settings.
Click to expand...
Click to collapse
Some software are able to connect via GPRS automatically and disconnect too after exit ( Palringo ) but most of them not. So I would like to have such fast way to disconnect ( I did not check - battery is still charging in shutdown - but mentioned "Connections" have not ability to disconnect from GPRS ?. As I remember there are three fields Phone, BT and W-Fi. Wi-Fi shows connected or not and one can switch-off wi-fi . It is not the same as as disconnect but better this than nothing.
Phone only shows that whole GSM radio is on not GPRS connection.
Anyway, maybe You know any kind of software that allows to manage GPRS-Wi-Fi. It does not has to be in upper bar. It is enough I will put it on SPB window.
drupad2drupad said:
I am keeping my backlight at 30% now most of the time. I have seen even 10% makes it better, but my eyes don't really like that dark so I keep it 30%. May be that will help as well?
Click to expand...
Click to collapse
Yes in my oppinion ( I was dealing with other "small" devices like PNA and PDA ) backlight is factor thar can dramatically make battery live longer. No wonder , it requires a lot of energy.
I guess that You ensured very good conditions for Your experiemnts. I mean very good quality of GSM and Wi-Fi signal which may cause the transcievers on tg01 could work with low power. It is in my oppinion second main factor. In bad conditions GSM can "eats" even 1-2 W of power.
drupad2drupad said:
I have used it this way since - and also changed to miROM10 now, and still don't charge my battery at least before 30 hours of use! - which I find to be good battery life for daily smart phone use
Click to expand...
Click to collapse
Do You want to say that with miROM10 You have the same good result as with miROM4 without removing task bar and wm menu ?
Recently I tested miROM11 ( as mirolg said there are only minor changes in comparison to miROM10 ) but I am rather disappointed. Not stable. Eats battery as any other ROM.
Regards
fxdjacentyfxd

Battery indicator

Hey, since the new update, the battery indicator in the nitificationbar is not updating / refreshing anymore, id does just always show a full battery, even when there is only like 40% left.
If i restart the phone it will set to the batterylife that is left, for example if i reset at 3/4 of the bettery it will show that but not refresh anymore till i reset again.
Factory reset and so on does not help, seems like a big software issue with the phone here.
if i go to options battery, it will show the right %tage in the options menue.
Also, they said in the patchnotes, that they now implemented a % of the battery in the notificationbar, but there is literally no option to enable that, any idead on where to search for that?
Or nay app recomendations that could help me out here?
crystalpepe said:
Hey, since the new update, the battery indicator in the nitificationbar is not updating / refreshing anymore, id does just always show a full battery, even when there is only like 40% left.
If i restart the phone it will set to the batterylife that is left, for example if i reset at 3/4 of the bettery it will show that but not refresh anymore till i reset again.
Factory reset and so on does not help, seems like a big software issue with the phone here.
if i go to options battery, it will show the right %tage in the options menue.
Also, they said in the patchnotes, that they now implemented a % of the battery in the notificationbar, but there is literally no option to enable that, any idead on where to search for that?
Or nay app recomendations that could help me out here?
Click to expand...
Click to collapse
It's working on mine. It is always set to % , no option to turn off.
I updated by using full time flashed with sp flash. Did you do it with OTA?
mrmazak said:
It's working on mine. It is always set to % , no option to turn off.
I updated by using full time flashed with sp flash. Did you do it with OTA?
Click to expand...
Click to collapse
Yes, it made an update in the middle of the night when it got releasen, funny thing is, i turned auto updates off and nearly got late for work, because my phone is also my alarm clock and since it made it´s update on it´s own it reset and needet my passcode to restart.
Nevermind, i usually make a factory reset after an update and most problems are gone by now, for example the multitask bug, it is still there but not all the time and usually only when apps havent been open for a few minutes or from what i´ve seen, it just loasd alot of apps into the RAM and as soon as the 3,9gb are full it just closes all of them, instead of just making enough space and killing the first few that you have had open. I hope they fix that in the next update, but still it is way better than before.
BUt back to the topic. Since the Update, the battery indicator on the right top has a different style but as i mentioned just stays white and shows a full battery all the time, with no option to change it to % like the update log was mentioning.
Before the update it also had no % in the bar but when you moved the bar down there at leas was a % shown, now just a full battery symbol all the time.
But i tried a few different apps now an one just put in % in the battery icon now and also updates : itßs called Battery Percent Enabler, i tried 5 different ones, they did not work, but this just works fine, it is accurate with the battery indicator in the menu.
But i´ll guess i will try and root may phone sooner or later and then i will just flash the newest rom on it anyways.
Just wanted to know if i´m the problem and i just couldent find the menu to activate it, if it was a generell software problem or if it is just a bug since the update.
An other question, do you also have the frontfacing camera but since the update?
People in the umidigi forum and on reddit post about it en mass, i first thought it was a crack in the camera lens but since the update i have it too and people are having it too since the update.
https://ibb.co/RgXSpNJ
Its just one of the pictures of another f1 user since the update, mine has this weird line right in the middle of the camera, but i cant find a crack in the glass or the lense and since it only happened to people since the update do you think they messed something up in the cam software?
I also found a few that state the frontcam is not working at all since the update.
battery indicator
Literally the same issue battery indicator only shows the battery life when first booted, rebooted, or charging. Otherwise the battery does not move. had to install widget off of playstore. Also no percentage on/off even though when you type it in the settings search bar it shows it but redirects you to battery and we'll you guessesd it not there... hope patch comes out soon....
ryantf420 said:
Literally the same issue battery indicator only shows the battery life when first booted, rebooted, or charging. Otherwise the battery does not move. had to install widget off of playstore. Also no percentage on/off even though when you type it in the settings search bar it shows it but redirects you to battery and we'll you guessesd it not there... hope patch comes out soon....
Click to expand...
Click to collapse
Hi, as i already troubleshooted and also kinda fixed it, just get the app i wrote in the first comment and everything should be good.
the only other thing that would help now is to re install the lastest update, since you messed something up while doing so.
or you can just install the app that i told you about.
Many of these little bugs or tweaks would be easily solved if we had an official and working GravityBox for Pie. Shame.
David C.

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