Related
a tool using the direct arm dll that fiinix @ XDA wrote in DllImport.
HTC Battery Tool does it with all sorts of info, this one is just simple, to the point.
I did this almost a month ago to date and had it as a live tile. I use it ALL THE TIME so I thought I would pass it along to all the fellow side loaders on here.
enjoy it, use it or whatever
thanks:
fiinix @ XDA
if you already use a battery percentage notification, tell me which one below?
thanks in advance, hope this helps someone as it has helped me.
Code:
edit: added cleaner NoDo_nation version because, who am I kidding anyway.
Very interest, I use this one till now and it work top.
I will tray out your Battery-Tool and report. Thanks.
Edit: Work like it have to work, good making and no conflict with the PhoneRestartTool with the code/dll from fiinix.
Great work on this!
Lovely, that's very nice.
Do you thinkt it'd be possible to add a live tile to that?
I know a lot of people are already sick of having to many of them but I could still use a couple more and one of them I'd like to be something like this
I've been experimenting a LOT with live tiles -- the result of which I am not happy with.
It is a bit of a catch22 because of the way you need to subscribe the live tile. I've short-fused the subscription whereas I can get a live tile update direct from code but the catch22 is the fact that the program has to run first to do it.
So what you end up with is a stale tile all the time. I'm not out of options quite yet but without running on a true background thread or the like, it almost looks like a "stalemate" -- no pun, well, whatever.
CopyCounsler said:
I've been experimenting a LOT with live tiles -- the result of which I am not happy with.
It is a bit of a catch22 because of the way you need to subscribe the live tile. I've short-fused the subscription whereas I can get a live tile update direct from code but the catch22 is the fact that the program has to run first to do it.
So what you end up with is a stale tile all the time. I'm not out of options quite yet but without running on a true background thread or the like, it almost looks like a "stalemate" -- no pun, well, whatever.
Click to expand...
Click to collapse
As it should be until we get Mango. Not much in the way of multitasking that works atm.
/J
jontatas said:
As it should be until we get Mango. Not much in the way of multitasking that works atm.
/J
Click to expand...
Click to collapse
You need jaxbot hack enabled and then still hope it will be able to push trough in the background.
Its far from reliable and will probably drain battery fast since there is no way to manage tasks yet, all tasks keep running in the background if you dont close them by pressing the back button (but you also should not kill the battery app ofcourse) which is indeed pretty much impossible, certainly for the average user to manage. You can juts better swipe down the task bar or just open the app
Nice job. Using the NoDo version.
CopyCounsler said:
a tool using the direct arm dll that fiinix @ XDA wrote in DllImport.
HTC Battery Tool does it with all sorts of info, this one is just simple, to the point.
Click to expand...
Click to collapse
CopyCounsler said:
I did this almost a month ago to date and had it as a live tile. I use it ALL THE TIME so I thought I would pass it along to all the fellow side loaders on here.
enjoy it, use it or whatever
thanks:
fiinix @ XDA
if you already use a battery percentage notification, tell me which one below?
thanks in advance, hope this helps someone as it has helped me.
Code:
[/FONT] [FONT=Arial]
edit: added cleaner NoDo_nation version because, who am I kidding anyway.
Click to expand...
Click to collapse
Does this one fix the conflicts with other apps that this one has? I know both use the dll import project which is why I ask. I tried the previous one for a few days but found it caused severe problems with the Weather Channel app and the TouchXperience app. They wouldn't load after checking the battery app. I will give it a run through and see how it works out.
Laquox said:
Does this one fix the conflicts with other apps that this one has? I know both use the dll import project which is why I ask. I tried the previous one for a few days but found it caused severe problems with the Weather Channel app and the TouchXperience app. They wouldn't load after checking the battery app. I will give it a run through and see how it works out.
Click to expand...
Click to collapse
It should not cause problems -- I use the Weather Channel app and also the TouchXperience app and have not noticed any conflicts of any sort. If you discover them, I have the source code open and ready to modify at any time.
Thanks in advance to all the comments and thanks in my first post!
ps. I had someone ask me if I could add a voice that spoke the percentage. I can. If I get enough people interested in the feature, I could probably have it done in an hour. Let me know if this is something that would set this app apart from the others or just unnecessary junk?
CopyCounsler said:
It should not cause problems -- I use the Weather Channel app and also the TouchXperience app and have not noticed any conflicts of any sort. If you discover them, I have the source code open and ready to modify at any time.
Thanks in advance to all the comments and thanks in my first post!
ps. I had someone ask me if I could add a voice that spoke the percentage. I can. If I get enough people interested in the feature, I could probably have it done in an hour. Let me know if this is something that would set this app apart from the others or just unnecessary junk?
Click to expand...
Click to collapse
Care to share the source?
/J
Yes, that would definitely.
CopyCounsler said:
ps. I had someone ask me if I could add a voice that spoke the percentage. I can. If I get enough people interested in the feature, I could probably have it done in an hour. Let me know if this is something that would set this app apart from the others or just unnecessary junk?
Click to expand...
Click to collapse
Sent from my HD7 T9292 using Board Express
Any way I can see mA usage? Trying to crack down on battery usage... Nodo user here btw.
TonyCubed said:
Any way I can see mA usage? Trying to crack down on battery usage... Nodo user here btw.
Click to expand...
Click to collapse
At the moment, you would only see rate of percentage decrease because mA values are not available through any means I've researched up to this point. Also, it would have to get thrown on a background thread - which makes the problem two-fold.
on top of the problems, a percentage decrease wouldn't be very accurate for several reasons.
I'll keep looking around however!
CopyCounsler said:
It should not cause problems -- I use the Weather Channel app and also the TouchXperience app and have not noticed any conflicts of any sort. If you discover them, I have the source code open and ready to modify at any time.
Click to expand...
Click to collapse
So far so good. I am honestly still teaching myself how phone 7 does it's coding being a amateur coder, but only thing I can guess is something in common with the original battery app and those to programs. I can duplicate it all day long with that one. With yours I had it happen one time. I opened the battery app. Then attempted to load either Weather channel or TouchXperience and the latter two apps would load then immediately shut down. I have yet to have it happen again with yours so good work!
CopyCounsler said:
ps. I had someone ask me if I could add a voice that spoke the percentage. I can. If I get enough people interested in the feature, I could probably have it done in an hour. Let me know if this is something that would set this app apart from the others or just unnecessary junk?
Click to expand...
Click to collapse
This could be cool, but I do like just the quick glance. Something I would like maybe is the ability to toggle an actual image with the percentage, but that's really just for visual sake. As it stands your app does what it's supposed to do and I like that.
Hello all, here is a little mod that will change static navigation settings on Galaxy Nexus:
GNEX-GPS-enable-static-navigation.zip - 1.16 MB
First of all, credit to FatDroid the dev who originally developed this and published an app to enable static navigation on GB and ICS devices. His/her app can be found at https://play.google.com/store/apps/...mZhdGRyb2lkLmFuZHJvaWQuZ3BzY29udHJvbHMyYWQiXQ but has not been updated since February 2012. Attempts to contact the dev have failed. FatDroid did all the work. I'm just offering a fix for Jelly Bean ROMs.
In a nut shell, this mod will allow the GNEX's SIRFStarIV GPS receiver to receive coordinates quicker and will disable Samsung's GPS filtering. This makes for quick vehicle navigation as well as excellent outdoor precision and response. This will amount to better GPS location reporting at the expense of some battery life. It also seems to have an impact on the gyro sensor and may help augmented reality apps as well as apps dependent on gyro (like google sky map and photosphere).
You may find that the GPS location "bounces" while navigating in a car. This is the result of disabling the static navigation filter.
I've tested on a Verizon Galaxy Nexus running cyanogenmod 4.2.2, but it should work on any GNEX running jelly bean 4.1 or later. I hope it is of use to some of you.
What is static navigation? http://www.etenblog.com/2007/11/20/static-navigation-explained/
Static navigation is a position filter designed to be used with applications intended for motor vehicles. When the vehicle’s speed falls below a threshold, the position and heading are frozen, and speed is set to zero. This condition continues until the computed speed rises above 1.2 times the threshold or until the computed position is at least a set distance from the frozen place. The threshold speed and set distance may vary with software versions. gpsd.googlecode.com/files/SiRF-SiRF-v2_4.pdf
Static navigation, also called position pinning, is a mechanism that it is used by the receiver to freeze, or pin, the position when the velocity falls below a threshold indicating that the receiver is stationary. The heading is also frozen, and the velocity is reported as 0. The solution is then unpinned when the velocity increases above a threshold or when the computed position is a set distance from the pinned position, indicating that the receiver is in motion again. Note that these velocity and distance thresholds cannot be changed. www.telit.com/module/infopool/download.php?id=4043
Re: [MOD] Enable GPS static navigation on 4.2.x Galaxy Nexus
Will test it out!
Beamed from my Maguro.
The way the article is phrased is that static navigation is on by default. Maybe some devices have it on already but I guess not on this phone.
Re: [MOD] Enable GPS static navigation on 4.2.x Galaxy Nexus
tiny4579 said:
The way the article is phrased is that static navigation is on by default. Maybe some devices have it on already but I guess not on this phone.
Click to expand...
Click to collapse
Correct, most gps receivers have static navigation on by default (as it should be, imo). The gnex, and some other Samsung phones turn it off by default (or, more precisely turn on navigation filtering) to save battery. What you gain in battery savings you lose in positional updates. For most people this won't matter at all. A lot of my work is outdoors and requires navigating by foot to particular sites that may not be readily visible to the naked eye. This mod makes the gnex gps more useful to me. It would also help hikers, runners, bikers who use gps as well. A bonus is it seems to help gyro, but my observation there is subjective.
Re: [MOD] Enable GPS static navigation on 4.2.x Galaxy Nexus
How significant would you say the battery impact is?
Re: [MOD] Enable GPS static navigation on 4.2.x Galaxy Nexus
ntb81 said:
How significant would you say the battery impact is?
Click to expand...
Click to collapse
I'm not sure yet. I've been running it for about a week and a half and I haven't noticed any extra battery loss, but I also haven't been in the field much either. This week will be good test for me.
Would this effect battery when gps is turned off? Like when Google now updates from cell towers.
"If there is anything that I hope you remember when you read this article, it would be these two issues:
- Dead GPS Chip
- Low Accuracy Of Fix
"Who Needs It?
Almost no one needs it. Even if you are hiking in the forest, chances are the tall trees would pose more of a problem on your GPS than turning static navigation off.
I'd definitely read the article at first and then decide.
I believe we are mixing terms here...
The way I understand it is this:
1. "Static navigation" is a filter that when *enabled* will only report gps fixes when there is a movement at a significant speed. It's main use is for car navigation.
2. When "static navigation" is disabled we will get fixes all the time.
So even though author of this post is claiming in a first sentence of a first post that this mod is *enabling* static navigation I believe it is actually *disabling* it
Also, the article linked in a first post is most very likely wrong (if that is the case then madd0g should not be worried), because official SiRFStarIV manual says nothing about filtering bad signals etc. - it only says that bellow some speed threshold fixes will not be reported.
See for yourself: micro-modular.com/docs/AddlRsrc/GSD4e%20OSP%20Manual%20(CS-129291-DC-9).pdf
Of course I may be wrong, but that's how I understand the manual.
I am really confused, because fatDroid also claims that his software is enabling static navigation...
Either way, great job klobkelosh - I am installing it right away
Re: [MOD] Enable GPS static navigation on 4.2.x Galaxy Nexus
kamil.trebunia said:
I believe we are mixing terms here...
The way I understand it is this:
1. "Static navigation" is a filter that when *enabled* will only report gps fixes when there is a movement at a significant speed. It's main use is for car navigation.
2. When "static navigation" is disabled we will get fixes all the time.
So even though author of this post is claiming in a first sentence of a first post that this mod is *enabling* static navigation I believe it is actually *disabling* it
Also, the article linked in a first post is most very likely wrong (if that is the case then madd0g should not be worried), because official SiRFStarIV manual says nothing about filtering bad signals etc. - it only says that bellow some speed threshold fixes will not be reported.
See for yourself: micro-modular.com/docs/AddlRsrc/GSD4e%20OSP%20Manual%20(CS-129291-DC-9).pdf
Of course I may be wrong, but that's how I understand the manual.
I am really confused, because fatDroid also claims that his software is enabling static navigation...
Either way, great job klobkelosh - I am installing it right away
Click to expand...
Click to collapse
Kamil, you may be correct. I assumed that FatDroid had correctly stated that Samsung disables static navigation by default. After reading the scant info out there I am no longer sure. I'm going to ask a friend way more knowledgeable than myself on such matters if he will weigh in.
I did a little more research.
Static Navigation
Static navigation, also called position pinning, is a mechanism that it is used by the receiver to freeze, or pin, the position when the velocity falls below a threshold indicating that the receiver is stationary. The heading is also frozen, and the velocity is reported as 0. The solution is then unpinned when the velocity increases above a threshold or when the computed position is a set distance from the pinned position, indicating that the receiver is in motion again. Note that these velocity and distance thresholds cannot be changed (www.telit.com/module/infopool/download.php?id=4043)
I understand that Samsung has enabled this setting by default. Thus, as Kamil pointed out above, the mod actually disables static navigation. I have updated the OP.
I see quite a few people have downloaded the mod. How's it working for you?
klobkelosh said:
I see quite a few people have downloaded the mod. How's it working for you?
Click to expand...
Click to collapse
I flashed it, and it didn't break anything, but couldn't test it in real life yet. I will be snowboarding soon and since I'm tracking my rides I will be able to tell.
I flashed it and the only time my phone ever searched for GPS was in Facebook , now its good , not sure about the terminology debate but it worked for me :thumbup:
Sent from my Galaxy Nexus using Xparent Cyan Tapatalk 2
My friend, who publishes AndroGeoid has this response:
"So looking at the GPS Control app and its description, it looks like the description is incorrect; it has "enable" and "disable" reversed. Static navigation enabled means filtering and a not up-to-date position; disabling it turns off the filtering, and just gives you the continuous raw position from the GPS receiver (presumably at 1 Hz). Disable is best for what you want to do, if you can live with some squirreliness in the position. Even better, get yourself a Bluetooth GPS receiver - save on battery, you can set the update frequency to as high as 10 Hz, and it supports WAAS. The SirfStar IV chipset supports WAAS, but it is apparently not enabled on the Galaxy phones. This may be due to the slightly increased battery drain, or because the GPS antenna on the phone is fairly small and can't pick up the faint WAAS signal."
Thanks Leszek!
A bit different than what FatDroid did
klobkelosh said:
Kamil, you may be correct. I assumed that FatDroid had correctly stated that Samsung disables static navigation by default. After reading the scant info out there I am no longer sure. I'm going to ask a friend way more knowledgeable than myself on such matters if he will weigh in.
Click to expand...
Click to collapse
I looked through the execution path of MI_SetStaticNav and there appear to be two branches. Basically I enabled static nav by forcing the NL_SetStaticNav branch. Will post mod as soon as I can confirm and not look stupid.
So here it is. It has only been tested on toroplus. Let me know your results.
afrotronics said:
I looked through the execution path of MI_SetStaticNav and there appear to be two branches. Basically I enabled static nav by forcing the NL_SetStaticNav branch. Will post mod as soon as I can confirm and not look stupid.
So here it is. It has only been tested on toroplus. Let me know your results.
Click to expand...
Click to collapse
Hi,
so you mean, i can test it on a i9100g?
do i have to update the sirfgps.conf file?
googling around does not give me a deep description about all the config things in gps.conf and sirfgps.conf.
When it is not for i9100g, what do i have to do to compile it on my own?
greeting,
Niine said:
Hi,
so you mean, i can test it on a i9100g?
do i have to update the sirfgps.conf file?
googling around does not give me a deep description about all the config things in gps.conf and sirfgps.conf.
When it is not for i9100g, what do i have to do to compile it on my own?
greeting,
Click to expand...
Click to collapse
You could try it, but make a backup first. I don't think you need to modify the conf files at all
Wow.... Google maps, every time I open it has always said I was miles away from my actual position then it would jump to where I actually was. Closing then opening maps it would jump to where I wasn't then back to where I am. After flashing this... Maps never said was somewhere else, it just showed me right where I am, sweet :thumbup:
Hmmm... I think having WiFi on had something to do with that
Niine said:
Hi,
so you mean, i can test it on a i9100g?
do i have to update the sirfgps.conf file?
googling around does not give me a deep description about all the config things in gps.conf and sirfgps.conf.
When it is not for i9100g, what do i have to do to compile it on my own?
greeting,
Click to expand...
Click to collapse
Sorry, for the delayed response I was on vacation for the weekend (Vegas Baby!). So the sirfgps.conf is unique to the driver hardware combo. I have a toroplus, which has it's own funky model number of SPH-L700. Someone correct me if I'm wrong but the generic model number for tuna hardware is i9250. I ahve my doubts these drivers will work with the i9100.
If the changes do work, you shouldn't need to update your sirfgps.conf file. Though something that helps is adding the line:
DYNAMIC_ACCURACY=1
Also you cannot compile the src since it is not publicly available. I've tried to contact CSR about getting the source but I need to purchase a dev board before getting the source. Even then I would not be allowed to release the source code. Since I have a pretty basic understanding ARM ASM you can send me you current driver and I can point you toward a solution.
Hi,
I was wondering if these zips do anything for maguro, as (at least on JB 4.2.2), the gps driver is not located at /system/lib/lib_gsd4t.so - I only have /system/lib/hw/gps.goldfish.so
So, if all these scripts only update /system/lib/lib_gsd4t.so, will it even be used?
I noticed a toggle in the toggles menu called download booster. It enables both the wifi radio and the LTE radio to work together to gain additional speed when downloading files over 30mb. It's pretty slick.
Check it out if you haven't
Yep, I'm using it from day one and it's pretty slick!
buhohitr said:
Yep, I'm using it from day one and it's pretty slick!
Click to expand...
Click to collapse
So am I, but how can you tell it's working?
stronggeek said:
So am I, but how can you tell it's working?
Click to expand...
Click to collapse
I think you just pull down the notification bar and you'll see in the notification shade the wifi/4G bars signifying the speed its pulling from each source to download the item.
tu3218 said:
I think you just pull down the notification bar and you'll see in the notification shade the wifi/4G bars signifying the speed its pulling from each source to download the item.
Click to expand...
Click to collapse
OIC. Thank you.
curious
Does anyone know if there is a torrent client that works with this feature? I've tried searching for one with no luck... maybe there is one that emulates this feature
When it kicks in, there will be a notification on screen that tells you its working.
Then during the transfer there will be a notification in the drop down menu..
It seems like it only works during certain types of transfers.. like web downloads and such. It doesnt kick in during an ookla speed test.
stronggeek said:
So am I, but how can you tell it's working?
Click to expand...
Click to collapse
It only works for files over 30 mb. then you'll see a different icon show up in your status bar. Also if you pull down your notifications , you will see the wifi and LTE speeds in a bar graph kinda thing
gio. said:
Does anyone know if there is a torrent client that works with this feature? I've tried searching for one with no luck... maybe there is one that emulates this feature
Click to expand...
Click to collapse
Was wondering this myself. We would need to know how it's determining the file size. I bet once we get root, that's one of the first things that get changed , always on DL booster lol
Serinety said:
Was wondering this myself. We would need to know how it's determining the file size. I bet once we get root, that's one of the first things that get changed , always on DL booster lol
Click to expand...
Click to collapse
Yeah I tried it with tTorrent pro and it wouldn't work...and that would be the only time I would ever need the booster..so really its useless to me
Sent from my SM-N910V using XDA Free mobile app
shpotik said:
Yeah I tried it with tTorrent pro and it wouldn't work...and that would be the only time I would ever need the booster..so really its useless to me
Sent from my SM-N910V using XDA Free mobile app
Click to expand...
Click to collapse
I have dropbox sync on and I upload a lot of videos to youtube, for those situations it's great. But ya, torrent would be nice. It's simply a matter of convincing the phone that whatever is being downloaded is larger than 30mb.
any way to edit what's on the ambient display?
would love to get a battery% on there.
Agreed. That would be nice.
Sent from my Pixel 2 XL using XDA Labs
I don't understand why Google doesn't put battery percent on the screen I would also like to be able to adjust the size
Have there been any updates on this subject now that we have the working root and TRWP?
Really love to have options to change clock colors and display battery percentage.
mngdew said:
Have there been any updates on this subject now that we have the working root and TRWP?
Really love to have options to change clock colors and display battery percentage.
Click to expand...
Click to collapse
Nope, not yet...
I want to know why the font changes. Sometimes its tall & skinny other times, short & fat.
winstonbyrd said:
I want to know why the font changes. Sometimes its tall & skinny other times, short & fat.
Click to expand...
Click to collapse
In order to prevent burn-in.
mngdew said:
In order to prevent burn-in.
Click to expand...
Click to collapse
Isn't that (also?) why it moves around?
It would be nice if Google could do something simple like say, have an automatic off setting so it's not wasting power during the night.
Must Samsung lead the way with everything Google does? Seriously?
TokyoGuy said:
It would be nice if Google could do something simple like say, have an automatic off setting so it's not wasting power during the night.
Must Samsung lead the way with everything Google does? Seriously?
Click to expand...
Click to collapse
So you'd like to see ambient display start but only run for a set amount of time? I know I've seen it get really dim, dimmer than when it starts
winstonbyrd said:
So you'd like to see ambient display start but only run for a set amount of time? I know I've seen it get really dim, dimmer than when it starts
Click to expand...
Click to collapse
Yes. It's something Samsung has had for ages now. I mean Google took the time to create a scheduled system for blue light reduction, yet couldn't bother to do the same with Ambient Display. It's either on 24-7 or off.
The best solution I've found is to put a piece of paper or such over the top sensor at night so the phone will think the device is in a pocket and turn off the screen.
TokyoGuy said:
paper or such over the top sensor
Click to expand...
Click to collapse
The best ideas are the easiest sometimes. I stay away from Samsung. I can't stand trying to figure out where they put stuff at. Why change menu structure even. I've tried several times because of the awesome hardware but never make it past about 2 months.
byproxy said:
any way to edit what's on the ambient display?
would love to get a battery% on there.
Click to expand...
Click to collapse
Want Ambient Display to show battery level? Star this issue and let Google know (but don't comment)
http://www.androidpolice.com/2017/1...how-battery-level-star-issue-let-google-know/
If you comment you *will* get spammed by Google notifications, just Star, do NOT comment. (don't ask how I know )
Google Issue Tracker
https://issuetracker.google.com/issues/62319884
Pkt_Lnt said:
Want Ambient Display to show battery level? Star this issue and let Google know (but don't comment)
http://www.androidpolice.com/2017/1...how-battery-level-star-issue-let-google-know/
If you comment you *will* get spammed by Google notifications, just Star, do NOT comment. (don't ask how I know )
Google Issue Tracker
https://issuetracker.google.com/issues/62319884
Click to expand...
Click to collapse
Cheers for the tip! :good::good: We've done my part now let's wait
I just got my pixel 2 XL and can't believe google has not enabled this already, it's a very basic item and a must have for many.
Pretty pathetic, hopefully once roms start dropping this will fix many shortcomings on the device.
As mentioned in an different thread, using Accubattery will display the battery level on the AOD. In my brief testing, Google reported the app as not consuming any measurable amount of power overnight, so no appreciable battery draw. Also, there is a root app from an XDA RC that displays the music you are currently playing/streaming on to the AOD. This is different from the existing "now playing" feature already built in, and at the end of the article HERE it says that almost any "text" can be displayed on the AOD. It's not the built in Google controls for the AOD we are expecting, but there is hope for customization for those with root, and in the coming ROMs.
Well, got this notice, just don't know what "Changed" (shrug)
https://issuetracker.google.com/issues/62319884
Changed
_______________________________
Reference Info: 62319884 [Feature request] Show battery level on active/ambient display
component: Android Public Tracker > Android Developer Preview
status: Assigned
reporter: [email protected]
assignee: [email protected]
cc: [email protected], [email protected]
type: Feature Request P4 S4
blocked by: 62436205
hotlist: Dev-Preview-O, Platform
Generated by Google IssueTracker notification system
You're receiving this email because you are subscribed to updates on Google IssueTracker issue 62319884 where you have the role: starred.
Click to expand...
Click to collapse
Pkt_Lnt said:
Well, got this notice, just don't know what "Changed" (shrug)
Click to expand...
Click to collapse
It just means there was another comment left. You will be spammed eternally! :silly:
v12xke said:
As mentioned in an different thread, using Accubattery will display the battery level on the AOD. In my brief testing, Google reported the app as not consuming any measurable amount of power overnight, so no appreciable battery draw. Also, there is a root app from an XDA RC that displays the music you are currently playing/streaming on to the AOD. This is different from the existing "now playing" feature already built in, and at the end of the article HERE it says that almost any "text" can be displayed on the AOD. It's not the built in Google controls for the AOD we are expecting, but there is hope for customization for those with root, and in the coming ROMs.
Click to expand...
Click to collapse
After I read your post I downloaded accubattery and it works quite well. Thanks for the heads up
I hope they enable the ability to keep the icon on the lockscreen while removing it from the notification panel.. that would be perfect.
sent from my Pixel 2 XL or Note FE
If anyone is wondering how to stop the Pixel from charging at a certain percentage, it's the following command:
Code:
echo 90 > /sys/devices/platform/google,charger/charge_stop_level
Replace 90 with whatever percentage you want to stop charging at!
rickysidhu_ said:
If anyone is wondering how to stop the Pixel from charging at a certain percentage, it's the following command:
Code:
echo 90 > /sys/devices/platform/google,charger/charge_stop_level
Replace 90 with whatever percentage you want to stop charging at!
Click to expand...
Click to collapse
That's something I've been wondering how to do! kudos
rickysidhu_ said:
If anyone is wondering how to stop the Pixel from charging at a certain percentage, it's the following command:
Code:
echo 90 > /sys/devices/platform/google,charger/charge_stop_level
Replace 90 with whatever percentage you want to stop charging at!
Click to expand...
Click to collapse
Will this work for the older Pixel devices as well (such as my Pixel 4)? : o
Help The Peace said:
Will this work for the older Pixel devices as well (such as my Pixel 4)? : o
Click to expand...
Click to collapse
No reason why not looking at the command, give it a try
danw_oz said:
No reason why not looking at the command, give it a try
Click to expand...
Click to collapse
Sounds good. But will it also drain battery from then on? Or will it continually "charge" to keep it at 80%? And is your command an ADB command?
You can use this in Tasker with a "run shell" task when the device boots since this reverts to 100 if you ever reboot the device.
Does this command require root?
Other than prolonging the battery condition/longevity, is there another reason to set a charge limit?
Last question: The command stays in effect until reboot?
Thanks.
snovvman said:
Does this command require root?
Other than prolonging the battery condition/longevity, is there another reason to set a charge limit?
Last question: The command stays in effect until reboot?
Thanks.
Click to expand...
Click to collapse
I believe it does require a root, yes
I don't know any other benefit for limiting charge other than preserving the battery's long-term, overall health. Not allowing your battery to go too low or too high will help keep its maximum charge for a longer time
And yes, the setting will revert back to the default 100 after a reboot. I use Tasker to run the command on each boot, gotta love automation!
does limiting the charge affect the battery optimization algorithms?
thanks for this. if only every phone was this easy
rickysidhu_ said:
If anyone is wondering how to stop the Pixel from charging at a certain percentage, it's the following command:
Code:
echo 90 > /sys/devices/platform/google,charger/charge_stop_level
Replace 90 with whatever percentage you want to stop charging at!
Click to expand...
Click to collapse
Thank you!
For what it's worth, this works with the Battery Charge Limit [ROOT] app (XDA thread). Go into the app's settings, enable Configurable CTRL File Data, click Configure Control Data, click I Understand, paste "/sys/devices/platform/google,charger/charge_stop_level" (without quotes) in the Set Path to Desired File, and since this app expects you to set values for Enabled and Disabled, I set both to 75, since that's what I want my battery to charge up to.
If I start using an automation app like Tasker, then I can set it a different way, but I kinda like this app method anyway.
Edit:
Now I am using the Advanced Charging Controller (ACC) Magisk Module and the AccA app which is a front-end/GUI for configuring the module.
Forgive my ignorance I have not paid much attention to the forums over the last couple of years.
Is there a benefit to limiting the charge percent? is 90 the default recommendation?
dms76 said:
Forgive my ignorance I have not paid much attention to the forums over the last couple of years. Picked up a job where I can't slack and read ll day long.. LOL
Is there a benefit to limiting the charge percent? is 90 the default recommendation?
Click to expand...
Click to collapse
The point is to limit battery degradation. Tesla does it with their cars. Personally, I'd rather just have an alert to notify me and I use AccuBattery Pro for that. I rarely charge overnight but if I actually do, I let adaptive charging handle handle the slow charging.
nycdiplomat said:
You can use this in Tasker with a "run shell" task when the device boots since this reverts to 100 if you ever reboot the device.
Click to expand...
Click to collapse
i did that but it won't do anything. it still charges above my set value, so i was wondering.
what i did in tasker:
created a profile > event > system event > device boot
created a task > run shell > "echo 65 > /sys/devices/platform/google,charger/charge_stop_level"
i rebooted to make sure tasker was running (had battery optimization disabled on tasker), and tasker seems to run but it won't work. the "65" value was just set while i was testing it and since my phon was below 50% charge i did not want to wait that long so i started with 55, then 60 and so on. as i write this i'm waiting for it to hit 65% and hopefully stop charging. all i can think of is that i probably used the wron profile in tasker?
regards
roirraW edor ehT said:
Thank you!
For what it's worth, this works with the Battery Charge Limit [ROOT] app (XDA thread). Go into the app's settings, enable Configurable CTRL File Data, click Configure Control Data, click I Understand, paste "/sys/devices/platform/google,charger/charge_stop_level" (without quotes) in the Set Path to Desired File, and since this app expects you to set values for Enabled and Disabled, I set both to 75, since that's what I want my battery to charge up to.
If I start using an automation app like Tasker, then I can set it a different way, but I kinda like this app method anyway.
Click to expand...
Click to collapse
No problem!
Yeah for sure, that’s the beauty of android, there are several ways of going about things.
I use Tasker because that way it’s just one less app that I have on my phone. I like to have as many things inside of Tasker as possible to keep things organized and consolidated.
Although I’m currently back on iOS after being on Android for six years! I didn’t like the 6 Pro enough to keep it and I’m not going to get into details because there’s already a lot of hate threads for it - and I don’t want to add to that.
Let’s just say that I’ve been enjoying iOS more than I thought I would, especially considering I’ve been on android for so many years. So we’ll see what Google cooks up for the 7 series.
Anyways, back to topic, definitely going to miss Tasker for how much that can be done with it! The Shortcuts app on iOS is the closest thing to Tasker and it’s nowhere near as robust lol
rickysidhu_ said:
If anyone is wondering how to stop the Pixel from charging at a certain percentage, it's the following command:
Code:
echo 90 > /sys/devices/platform/google,charger/charge_stop_level
Replace 90 with whatever percentage you want to stop charging at!
Click to expand...
Click to collapse
does this work without root? i tried this using tasker but it did not work. how did u test it?
boxemall said:
does this work without root? i tried this using tasker but it did not work. how did u test it?
Click to expand...
Click to collapse
Yes, As far as root required.
boxemall said:
does this work without root? i tried this using tasker but it did not work. how did u test it?
Click to expand...
Click to collapse
You need root.
I just got one of these: https://chargie.org/
Seems to work well so far.
cmh714 said:
I just got one of these: https://chargie.org/
Seems to work well so far.
Click to expand...
Click to collapse
I have looked at them before but they seem very expensive for what they are, it is easier just to set a silent alarm for a few hours after you intend to get up.