Could someone build a widget to loop the "cat sys/class/power_supply/battery/current_now" script every 30 seconds or so and display the results in the widget? This could give you an accurate idea of how much power your phone is using regularly.
UPDATE
rm9 has made a widget off this idea, he has posted it to the market.
pgwipeout said:
Could someone build a widget to loop the "cat sys/class/power_supply/battery/current_now" script every 30 seconds or so and display the results in the widget? This could give you an accurate idea of how much power your phone is using regularly.
Click to expand...
Click to collapse
Gotta bump this while noting I'd pay for such a widget.
+1 for payage
EDIT: Or, even better, a graphical history widget like SeePU++
I have never done programming before, but this might be enough for me to look into and see if I can learn enough to put something together.
What are the units for current_now ?
rm9 said:
What are the units for current_now ?
Click to expand...
Click to collapse
Microamps, Probably would be best for the widget to display in Milliamps.
pgwipeout said:
Microamps, Probably would be best for the widget to display in Milliamps.
Click to expand...
Click to collapse
But I get a negative number when I cat the file.
rm9 said:
But I get a negative number when I cat the file.
Click to expand...
Click to collapse
Is it while ur charging ur phone ?
Daneshm90 said:
Is it while ur charging ur phone ?
Click to expand...
Click to collapse
It displays total current to/from the battery, - means it is discharging the battery, + means it is charging the battery, so if you have a - while charging it means you are pulling more power then your power supply can provide.
Daneshm90 said:
Is it while ur charging ur phone ?
Click to expand...
Click to collapse
no.
Checked on Nexus One.
pgwipeout said:
It displays total current to/from the battery, - means it is discharging the battery, + means it is charging the battery, so if you have a - while charging it means you are pulling more power then your power supply can provide.
Click to expand...
Click to collapse
great, thanks.
is this the same as when you use OS Monitor, look in messages, and filter dmesg for "batt" or similar? is that what this thread is asking for? if so that would be sweet!
RogerPodacter said:
is this the same as when you use OS Monitor, look in messages, and filter dmesg for "batt" or similar? is that what this thread is asking for? if so that would be sweet!
Click to expand...
Click to collapse
Parsing messages from dmesg about the battery would allow the widget to provide A LOT more information about your battery state, sweet!
Great info. Was looking for a way to get the power draw. I'm thinking of creating an app like CPUStatusLED, but for the battery draw
britoso said:
Great info. Was looking for a way to get the power draw. I'm thinking of creating an app like CPUStatusLED, but for the battery draw
Click to expand...
Click to collapse
The LED would not provide a very accurate representation of current draw, A widget could provide Current, Voltage, Temperature.
The widget is almost finished. Just need to add configuration and some design
Sent from my Nexus One using XDA App
cool
really fast work
rm9 said:
The widget is almost finished. Just need to add configuration and some design
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
cool!will be waiting! if you need any beta testing to be done pm me
rm9 said:
The widget is almost finished. Just need to add configuration and some design
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Much excellence, Ill put down five bucks for it.
Great, looking forward to test this!
Related
http://www.gsmarena.com/htc_hd2_gets_optional_extended_battery_and_kickstand_-news-1401.php
And what is the connection with Touch2?In the link is specified for HD2(leo).
Have checked the site but could not find an extended battery for the Mega........
Try this:
Word Wide Web.pda-square. de/blog/htc-touch-2-powerakku-809
Word Wide Web.pda-square. de/products/de/PDA-Zubehoer-nach-Art/PDA-Akkus/HTC/Akku-fuer-HTC-Touch-2-BA-S360-Mega-100-2200mAh.html
sky11 said:
Try this:
Word Wide Web.pda-square. de/blog/htc-touch-2-powerakku-809
Word Wide Web.pda-square. de/products/de/PDA-Zubehoer-nach-Art/PDA-Akkus/HTC/Akku-fuer-HTC-Touch-2-BA-S360-Mega-100-2200mAh.html
Click to expand...
Click to collapse
Any chance to get that in English???
FlameBoy02 said:
Any chance to get that in English???
Click to expand...
Click to collapse
Why do you need that, the phone has a good battery and will get uggly with this one
Could see a need for such......not for every-day usage but as spare battery when you want to see a (whole) movie while travelling.....
Frank Caarls said:
Could see a need for such......not for every-day usage but as spare battery when you want to see a (whole) movie while travelling.....
Click to expand...
Click to collapse
LOL
We all know the battery icon on the Vibrant is subpar. It looks like you have much more battery than you actually do. The stock icons (10, 20, 40, 60, 80%) don't show their correct percentages.
I made this morph in hopes to fix that issue. I actually measured the available space in the icon and figured how much each percentage would be (10, 20, 40, 60, 80). Only issue I can see is I don't know at what percentages the phone changes icons (ie. 20% icon at actual 20% or another close percentage).
Also including a revert in case someone wants to go back to the stock icon.
(May include comparison screenshots if I can get them)
Accurate Battery
Stock Battery Revert
downloads not working...
DL links fixed.
Sorry.
Thank you so much!
Thank you!
Also, for those of you that don't want to have to morph, you could always download the battery watcher widget, which displays the percentage of battery remaining in a widget.
True. A lot of widgets will put a percentage up in the status bar. This is more for the OCD (no offense) people that can't stand having it be way off.
Sent from my Vibrant using XDA App
MINUS Stl said:
True. A lot of widgets will put a percentage up in the status bar. This is more for the OCD (no offense) people that can't stand having it be way off.
Sent from my Vibrant using XDA App
Click to expand...
Click to collapse
Well I'm far from ocd (
You should see my desk), but it is really annoying that what looks like 70%, is actually 40%
Sent from my Vibrant using XDA app
I have been trying to port over this battery from the captivate forums, as its super accurate (to the percentage). Anyone feel like trying? It involved 100 images and 3 xml files.
http://forum.xda-developers.com/showthread.php?t=755822
zimphishmonger said:
I have been trying to port over this battery from the captivate forums, as its super accurate (to the percentage). Anyone feel like trying? It involved 100 images and 3 xml files.
http://forum.xda-developers.com/showthread.php?t=755822
Click to expand...
Click to collapse
I can't make the orginal one work. The accurate battery I mean. It says applying but doesn't complete. How long does it normally take? Can you have more than one morph at a time? Did I miss something?
parmijo11 said:
I can't make the orginal one work. The accurate battery I mean. It says applying but doesn't complete. How long does it normally take? Can you have more than one morph at a time? Did I miss something?
Click to expand...
Click to collapse
I have posted a working one in zimphishmonger's thread test it out and leave me some feedback!
Posted here: http://forum.xda-developers.com/showthread.php?t=756441
parmijo11 said:
I can't make the orginal one work. The accurate battery I mean. It says applying but doesn't complete. How long does it normally take? Can you have more than one morph at a time? Did I miss something?
Click to expand...
Click to collapse
Make sure you have usb debugging enabled
zimphishmonger said:
I have been trying to port over this battery from the captivate forums, as its super accurate (to the percentage). Anyone feel like trying? It involved 100 images and 3 xml files.
http://forum.xda-developers.com/showthread.php?t=755822
Click to expand...
Click to collapse
There seems to be a link to a Vibrant version here.
Ooh, I like that circle battery indicator! I originally wanted to see about making more icons than just the 7, but wasn't how to implement it (I'm not a coder).
The vibrant version is here also: http://forum.xda-developers.com/showthread.php?t=756441
hurrpancakes said:
Make sure you have usb debugging enabled
Click to expand...
Click to collapse
Good call. That was the problem. It rebooted, will have wait a bit to see if it works. At 70% right now. Thanks
Hello,
I want to be able to log what activity and how many hours I have between each charge so I can compare my stock battery to non-oem batteries. I would like something that would keep a history of each session (1 session = the time between being plugged in) that would allow me to click on that entry and see what used up the battery ect.
I am running a LG Thrill 3D on Froyo. Anyone have a good suggestion?
shaxs said:
Hello,
I want to be able to log what activity and how many hours I have between each charge so I can compare my stock battery to non-oem batteries. I would like something that would keep a history of each session (1 session = the time between being plugged in) that would allow me to click on that entry and see what used up the battery ect.
I am running a LG Thrill 3D on Froyo. Anyone have a good suggestion?
Click to expand...
Click to collapse
My friend just asked me this question as well. I looked in the market and I don't see anything that would fit this. I am interested in finding out as well. If not, I may have to make this my next development project.
ubrg33k said:
My friend just asked me this question as well. I looked in the market and I don't see anything that would fit this. I am interested in finding out as well. If not, I may have to make this my next development project.
Click to expand...
Click to collapse
Yeah I looked and couldnt find it either so I thought I would ask here. Crazy that it doesnt exist yet!
You can try Battery Monitor Widget, I like it a lot, it will show you all battery usage in a graph. Not exactly what you are looking for but close (by comparing lines between 2 recharges).
https://market.android.com/details?id=ccc71.bmw&feature=search_result
Someone knows a logging APP for now ?!
Sent from my Xperia Z3C using XDA Free mobile app
Currently on:
Alien #4 ROM
No OC/UC.
Attached are the screenshots.
Is my battery life considered good or not?
I'm a heavy user and I want to see if my battery life could be improved or not.
Thanks!
nikdimas said:
Currently on:
Alien #4 ROM
No OC/UC.
Attached are the screenshots.
Is my battery life considered good or not?
I'm a heavy user and I want to see if my battery life could be improved or not.
Thanks!
Click to expand...
Click to collapse
Looks fine to me for a heavy user. Many people struggle to get that on low to medium usage dependent on ROM, kernel, etc.
<edit> Optimize Tool Box from the Market will help you squeeze a wee bit more out of it I believe, allowing you to select which apps run at start up, etc.
That's excellent battery life for a heavy user. You don't need to do anything.
Ohh. thanks guys! Btw anyone of you know why is my device "awake" most of the time? (First screenshot)
nikdimas said:
Ohh. thanks guys! Btw anyone of you know why is my device "awake" most of the time? (First screenshot)
Click to expand...
Click to collapse
Check your "screen timeout setting" located in settings->display->screen timeout.
Certain apps can change that value without you knowing it even happened...
Sent from my MB860 using xda premium
Crazy for my battery
nikdimas said:
Currently on:
Alien #4 ROM
No OC/UC.
Attached are the screenshots.
Is my battery life considered good or not?
I'm a heavy user and I want to see if my battery life could be improved or not.
Thanks!
Click to expand...
Click to collapse
I'm also on Alien #4 and I'm a heavy user, too but I think I'm getting a really worst battery than you, could you tell me the name of that app so I can check if my battery is good or I'm the heaviest user in the world?
Thanks!!
jeffmena93 said:
I'm also on Alien #4 and I'm a heavy user, too but I think I'm getting a really worst battery than you, could you tell me the name of that app so I can check if my battery is good or I'm the heaviest user in the world?
Thanks!!
Click to expand...
Click to collapse
It comes in the system
Settings>About Phone>Battery Use
Get BetteryBatteryStats and check for partial wakelocks.
nikdimas said:
Ohh. thanks guys! Btw anyone of you know why is my device "awake" most of the time? (First screenshot)
Click to expand...
Click to collapse
Excelent battery duration.
Enviado desde mi MB860 usando Tapatalk
Thanks!
Oh Thanks haha I didn't know i could tap the graph and make it larger, haha fool myself. Thanks!!
My crazy battery
So I did the test with my atrix, charged it all night and used it during the day as I would do with all my phones, unplugged it at 6am. and used it since I took those pictures at around 4pm. During the day my friends and I played with it for a while several times and I also did some web browsing but I think my battery is just flying through my phone! Am I getting what I should get or am I dealing with a bad battery? I really think my battery is not good at all for its size...
I also have ninja rom #4 and same kernel the original post images has. And I'm a heavy user. Any advices answers or help? Oh and my phone is in Spanish so sorry for that!
I ran Android tweaker 2 and charged to 100 finished at 11 and when I woke up at 7am it still had %100
XylerSmith said:
I ran Android tweaker 2 and charged to 100 finished at 11 and when I woke up at 7am it still had %100
Click to expand...
Click to collapse
yes the standby on this phone is amazing.
The phone stays at 100% longer than any other percentage
XylerSmith said:
I ran Android tweaker 2 and charged to 100 finished at 11 and when I woke up at 7am it still had %100
Click to expand...
Click to collapse
What tweaks are you running? One of the stock auto tweaks? did you set up a tasker profile for sleep mode too? What was your total uptime? Sorry for all the questions, just trying to see what I can do with this awesome phone to make it better. :laugh:
steber04 said:
What tweaks are you running? One of the stock auto tweaks? did you set up a tasker profile for sleep mode too? What was your total uptime? Sorry for all the questions, just trying to see what I can do with this awesome phone to make it better. :laugh:
Click to expand...
Click to collapse
Try some of these things if you haven't already http://forum.xda-developers.com/showthread.php?p=54342046
- Sent From My G3
scy1192 said:
The phone stays at 100% longer than any other percentage
Click to expand...
Click to collapse
Proportionally, that would mean it is wrong then. Think about it
rushless said:
Proportionally, that would mean it is wrong then. Think about it
Click to expand...
Click to collapse
yeah that's true, so either LG cheats the battery life reports or it's just poor measuring by the circuitry
Will android tweaker 2work on my xperia sp
Sent from my C5302 using XDA Free mobile app
I once watched a whole 30 minute show streaming on Hulu unplugged and percentage was still at 100. That didn't seem right to me. But I am getting really great battery life all the same. Rarely get below 50 percent on a regular day.
i enabled just every battery tweak for anyone that is wondering
scy1192 said:
The phone stays at 100% longer than any other percentage
Click to expand...
Click to collapse
True story. mine sucks after it leaves 100%. i dont like battery on phone at all
oneandroidnut said:
True story. mine sucks after it leaves 100%. i dont like battery on phone at all
Click to expand...
Click to collapse
That's the truth, hope someone makes a decent battery case.
Sent from my VS985 4G using XDA Premium 4 mobile app
INCREMENTAL said:
That's the truth, hope someone makes a decent battery case.
Sent from my VS985 4G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
i have an lg battery i just got but seriously the battery shouldnt be that bad. if you can use the screen above 50% brightness and not be able to last for a day i kinda think its a joke. roms and kernels better fix this!
You guys should try changing your Governor to OnDemand and put PowerSave_bias =1.
That's helped me quite a bit and my phone behaves the exact same way.
- Sent From My G3
Mistertac said:
You guys should try changing your Governor to OnDemand and put PowerSave_bias =1.
That's helped me quite a bit and my phone behaves the exact same way.
- Sent From My G3
Click to expand...
Click to collapse
I have that already
oneandroidnut said:
I have that already
Click to expand...
Click to collapse
Well I totally agree with what you said earlier we need Roms and kernels.
I also saw some real Battery improvement after disabling CheckIn services for Google Play Services and Framework as well as disabling the Receivers for com.lge.ims then freezing it.
That thing was waking Mr phone an insane amount of time during the day.
It handles Calls Over WiFi . which I don't use.
- Sent From My G3
Mistertac said:
Well I totally agree with what you said earlier we need Roms and kernels.
I also saw some real Battery improvement after disabling CheckIn services for Google Play Services and Framework as well as disabling the Receivers for com.lge.ims then freezing it.
That thing was waking Mr phone an insane amount of time during the day.
It handles Calls Over WiFi . which I don't use.
- Sent From My G3
Click to expand...
Click to collapse
Yes yes and I'm seriously considering going back to my note 3 de and i may buy an s5. Don't know what I'm going to do with g3
oneandroidnut said:
Yes yes and I'm seriously considering going back to my note 3 de and i may buy an s5. Don't know what I'm going to do with g3
Click to expand...
Click to collapse
Ahhh man I'm sorry to hear it's not working out for you. Maybe wait for when extended batteries come out?
What kind of screen time and use are you getting roughly??
I have Lux set at Max brightness of 70% and even during the day in the sun with glasses on I can see it great. Damn screen does suck the battery down good though I know.
After chasing down WakeLocks and uninstalling the bloat my G3 is great now. No not nearly as good as it could be if we had Roms etc.
And these things charge up hella fast too so that's another plus.
- Sent From My G3
---------- Post added at 01:21 PM ---------- Previous post was at 12:52 PM ----------
Also do you use BBS? If so how far apart are you Screen On and Awake times?
- Sent From My G3