Hi,
The battery driver on the Nexus One writes a file to /sys/class/power_supply/battery with the electrical current usage.
On the Nexus S (like other Samsung devices) - it does not.
I saw the implementation of the N1 battery driver and I was wondering if it's just missing from the Nexus S driver or is it a hardware issue.
Anyone here can point me to the right direction?
Thanks.
I am having a similar problem....
was expecting to find current_now under
/sys/class/power_supply/
but found no such file !!
Where can I find it ?
apoorvakarnik said:
I am having a similar problem....
was expecting to find current_now under
/sys/class/power_supply/
but found no such file !!
Where can I find it ?
Click to expand...
Click to collapse
It doesn't exist in all of Samsung devices.
So if I want to measure power consumption, is there any other way out ??
The power consumption that it currently shows is on a scale of 100 in percent, which is not granular enough to find out the power consumed by my application.
I wanted to measure the Current VOLTAGE and CURRENT values so that I can find out the power consumed. I could find out the current voltage but could not find out the current CURRENT.....
apoorvakarnik said:
So if I want to measure power consumption, is there any other way out ??
The power consumption that it currently shows is on a scale of 100 in percent, which is not granular enough to find out the power consumed by my application.
I wanted to measure the Current VOLTAGE and CURRENT values so that I can find out the power consumed. I could find out the current voltage but could not find out the current CURRENT.....
Click to expand...
Click to collapse
I couldn't find any other way.
Let me know if you find anything.
Related
Hello,
I'm using GetTickCount() (eVC++) to measure small (ms) time intervals on a Himalaya device (running Windows Mobile 2003). I first used QueryPerformanceCounter() but on my device QueryPerformanceFrequency() gives a value of 1.000.000 which, as I understand, means that high resolution counters are not supported on this device and actually GetTickCount() is called.
For my purpose GetTickCount() works ok, but ONLY when the device is in the docking station! When I remove it from the docking station and run my program when the device is battery powered, the time intervals I measure are wrong: The measured intervalls are too small. This is reproducible. So it seems the "ticks" are running faster when in battery mode.
So, my question is what happens to the device when it switches from extern power supply to battery power? Is the CPU frequency reduced? How can I get the actual frequeny of the CPU? What else could it be that makes my measurement wrong? How can it be that the GetTickCount() depends on how the device is powwered?
Any idea is appreciated.
Thanks
I have recently purchased a Mugen 3000 mA battery. I am thrilled with the extended battery life after fully charging and discharging it three times as recommended by the manufacturer. What I find annoying is that WM6 no longer gives accurate information regarding remaining battery strength. If I run the battery down to 2%, remove the battery and restart WM6 says 37%. At 2% I can repeat and WM6 still says 37%. After running down to 2% a third time and repeating WM6 says around 10%. After that it varies a bit but you get the picture.
What I would like to know is if one of you geniuses out there has discovered a registry edit, hack or 3rd party software that will provide accurate battery info so I don't have to be distracted by having my battery say 2% for hours on end or repeatedly remove and restart.
BTW, BatteryStatus Ver. 1.04.200 beta2 build 0173 reports the same incorrect info and so does SPB Mobile Shell 1.5 Home Tab.
Thanks in advance for your informed guidance. OK, that is laying it on a bit thick but I always highly recommend this site to anyone I know interested in really learning how to take full advantage of that little computer in their pocket.
Take a search on XDA for Ariel monitor maybe it solves your problem.
Thanks for the suggestion. It is a nice little program but it suffers from the same problem. I suspect I need to find a way to change the mA capacity WM6 bases it's battery calculations. I don't know if that can be done with a registry edit or if there is a third party battery monitor that has an option to change the battery capacity for calculation of percentage remaining or better yet auto detects the actual battery capacity. Ideally it would be able to both accurately read remaining percentage and make reasonably accurate time remaining estimates based on current and historical battery drain data.
It is like driving a car with a broken gas gage. Sure, you can use the odometer to estimate how much gas you have left but you are always worried your estimate is off and you will be left stranded without a phone ... oops crossed metaphors.
How do the rest of the users with extended batteries handle this irritating situation?
Bump. I can't believe i'm the only one with this problem.
I know this problem also i will wait with buying a high capacy battery until i find such a hack
The Kaiser uses a smartbattery. The battery capacity is based on the information that a small processor inside the battery tells the phone's main processor. There are several things that could be the problem:
1. The small processor in the 3rd party battery is programmed with the old specs for the standard battery. The is nothing you could do about this.
2. The small processor needs to be calibrated. You would do this as follows; set your phone to never turn off no matter how low the battery got. Now, run the phone down until the thing dies from lack of power. Then charge it all the way up. This should fix that issue. I don't recomend doing it many times, because it is not good for Lion batteries to be fully discharged too often.
This is a very valid issue which I have faced many times when using a 3rd party extended battery with other phones.
Not sure how to solve it though, although I have the 3000mah on order myself.
I think the battery reading is given by the battery itself, and most of these 3rd party manufacturers don't really care to put a smart processor in the battery (to reduce costs/make it smaller/etc).
I have the exact same issue and although it is a nuisance, I have found a workaround to keep using the phone. Simply physically removing the battery and replacing it will increase your remaining battery power substantially. I normally wait till the first low battery reminder to do this. Also, how do I set the phone to never turn off no matter how low the battery gets? This would also be fine with me.
utbiglall said:
I have the exact same issue and although it is a nuisance, I have found a workaround to keep using the phone. Simply physically removing the battery and replacing it will increase your remaining battery power substantially. I normally wait till the first low battery reminder to do this. Also, how do I set the phone to never turn off no matter how low the battery gets? This would also be fine with me.
Click to expand...
Click to collapse
I didn't run into this issue until I reflashed my ROM to one with W6.1. Then, rather than get 12-13 hrs with my 3amp battery, I'd get 6. I used my original battery, but when I put the 3amp back in, I still had 47% left.
It's the ROM, and until there's a fix, it would be a pain to pull and replace the battery just to work around. I've done this several times recently when I'm on battery power, but I'd rather not.
Anybody heard of any other fixes, outside monitor, or do we wait until we get a Windows Mobile 6.1 fix?
Still no luck?
Hello,
Has anyone been able to find a solution for this. I am ordering the extended battery today. I will try to fully discharge it and then recharge it as was suggested and report back.
I emailed Mugen. We went back and forth with them trying to troubleshoot whether it's the battery or OS. They were clueless, but did offer an RMA to replace the battery. I pay the postage. Not sure if I'll send it back if it's the OS. I pull and replace the battery right now. It's a real pain, and I hate opening the case so much, but it's the only way I can get an accurate read.
PhoenixAG said:
This is a very valid issue which I have faced many times when using a 3rd party extended battery with other phones.
Not sure how to solve it though, although I have the 3000mah on order myself.
I think the battery reading is given by the battery itself, and most of these 3rd party manufacturers don't really care to put a smart processor in the battery (to reduce costs/make it smaller/etc).
Click to expand...
Click to collapse
The processor is required for these types of lithium ion batteries because it regulates the charging of the battery. If it didn't the battery would not charge properly, or maybe not even charge at all.
There is no solution for now, people from other forums tries to patch battdrvr.dll.
But two things may help a little:
1.You may completely disable battery monitoring
HKLM\Drivers\BuiltIn\Battery rename or remove string battdrvr.dll
But you lost monitoring completely.
2. change HKLM\Drivers\BuiltIn\Battery\Order change value from 15 (in my case) to 0. - After this battery lasts longer until power off.
There is not complete hardware or software solution for this problem. We need to wait.
Low Battery warning:
By default, a PPC will sound a warning sound when the battery is running low (10%, fixed value), but there's no way to disable or change the notification. To enable this, so that it is visible in the "Sounds & Notifications" control panel, set:
HKCU\ControlPanel\Notifications\{A877D663-239C-47a7-9304-0D347F580408}\Default = "Low battery warning" (REGSZ string, no quotes)
Anybody have any updates on this? I have noticed this more on WM6.1, but it was still an issue on WM6. I just find this so annoying!
Is there any radio that can fix this? I noiced that this battery reading issue only occurs when the Phone Signal is on. When off, it never happens to me. Or it seems. So it has something to do with the radio.
bump, anyone got a solution?
this is very interesting, i bought the seidio 3200 battery i am having the same problems. i just tired the
change HKLM\Drivers\BuiltIn\Battery\Order change value from 15 (in my case) to 0
i am going to see how that works out throughout the day
Tried It
I am having same issue, reset the registry key to "0" and ran for a full day, no change, still incorrect reading. I have a 2700 Mah battery and the charge indicater is completely wrong on it. I have cycled the battery as per reccoemndations, but still get wrong power remaining readings. Can remove the battery and resets itselft to a more correct reading.
I am out of ideas, guess we need someone from HTC to chime in with a hardware fix.
MWS
ms0529 said:
I am having same issue, reset the registry key to "0" and ran for a full day, no change, still incorrect reading. I have a 2700 Mah battery and the charge indicater is completely wrong on it. I have cycled the battery as per reccoemndations, but still get wrong power remaining readings. Can remove the battery and resets itselft to a more correct reading.
I am out of ideas, guess we need someone from HTC to chime in with a hardware fix.
MWS
Click to expand...
Click to collapse
i have tried it too and it still does the same thing. i would still need to pull the battery and restart the device for the batt meter to get a more accurate reading. i could do it about 3 times before the battery dies completely.
is there this problem with all extended batteries or just with the larger ones?
the reason I ask is that I've got a $17 credit at Amazon and was thinking of grabbing a 1600mah battery, it's only like $22 with ship so I'll only pay a few bucks for it really...
I wanted to get the larger one but it's fat and won't fit standard carrying case, but the 1600 is slim and will fit in place a regular battery
i noticed battery level feedback in my x1 is just in 10% steps. (shown with homescreen). is this normal? other htc devices are more precise...
DocMAX said:
i noticed battery level feedback in my x1 is just in 10% steps. (shown with homescreen). is this normal? other htc devices are more precise...
Click to expand...
Click to collapse
Yes, I notice that also after putting in the percentage icons for the battery meter.
Probably SE purposely design it to be like that.
is there a registry hack?
Would like to have precise indicator too, 10% steps are bit ugly. With 1% steps you can figure actual consumption and extimated battery time quite well...
No hack yet?
X1 can only show battery life with 10% precision? even 3rd party Battery meters display in 10% steps. Can not think of any advantage of such a primitive feature design. Hack or a workaround would be much appreciated.
would be happy to be proven wrong, but the source that provides the status of the battery life is an OEM driver that is device-specific, Microsoft only provides the API to access the source. So there's no way you can hack unless you write a new power management driver for X1.
The thing with LiPo batteries is, that the nominal voltage is 3.6 [V] and the minimum voltage is 2.5 [V] (below this, the battery will be damaged).
So the usable voltage range are 1.1 [V]. The device has to measure the voltage to show the battery level. Due to the tolerances and mesurement deviations it is hard, if not impossible, to measure more exact than 1/10th [V].
SonyEricsson therefore shows a realistic value of the battery level whereas devices that show more exact values simply lie.
Hi
I'm looking for a SW to display current consumption on my Touch HD in order to check which program I use drains my battery
In particular I would like to measure the GPS consumption because I think this is the main reason
I tried acbtaskman but it can't read the power consumption
- This SW can keep monitoring and display a history graph even when the device is "OFF"
- the SW show power consumption only during charging
I also tried home screen++ that has a thread here but this program only shows one number and not historic graph
Would appreciate your help in finding the right program or setting parameters
Moti
You could give PowerGuard a try
even powerguard ist not able to read consumption on Blackstone.
Is there any other tool?
I had no problems with battery since I´ve deinstalled some software. but now it´s unbelievable bad.
How can I solve this?
There's no immediate correllation between consumption and a particular process running or installed on your device. It's the way that certain software is designed that may cause increased consumption, but it's almost impossible to catch unless you know how exactly this software is impacting your battery life.
Hard reset, install your software one at a time and watch battery life.
Once you have found the culprit, hard reset again and don't install it this time.
I've been using "battery guard" which seems to do similar to what you want. It only gives you a total,however you can add and subtract what you want to monitor ie. GPS,Audio etc, and that should help somewhat.
My battery consumption is also higher than I would expect (about 180mA with nothing turned on)....I'd be interested to hear what other peoples usage is.
My battery consumption is 180-190 mA too (basic sw running and light on). Seems quite high.
When charging PowerGuard (v1.3) shows some 200-210 mA, can I assume that the charging current is ~400mA?
Is there a way to decrease the power consumption?
Thanks
2 amp car charger
Not sure,but I think you get 500mA charge from USB & 1A through powerpoint. I've been trying to find agood car charger as 500mA doesn'tcut it when running GPS. I found a 2A one
http://www.netimes.com/shop/2000-ma-miniusb-htc-mobile-car-charger-p-1342.html?cPath=80_612
I'm still trying to figure out if 2 amp is safe. I think the phone limits input so I think so. If anyone knows better, please enlighten me.
Sammy
At home I use 2500mA charger
In the car I use a 2000mA charger
The vaiues measured by PowerGuard are s mentioned above (~400mA)
Battery Guard Developers Page
Battery Guard Developers Page
http://mobile.dlugosz.net.pl/Products/BatteryGuard/tabid/59/Default.aspx
Which 2A car charger do you use?
zolom said:
At home I use 2500mA charger
In the car I use a 2000mA charger
Which car charger do you use? and how long have you been using it? I just noticed the only review on the one I looked at was verynegative. Says his device was killed on the 2nd use.
Click to expand...
Click to collapse
The car adapter is new; details here
The home adapter (with selectable votages) is used for 2 month allready with no issue. This is soething that was bought in an electronics shop.
Hello, i just installed powerguard v1.3 but when i tried to open it its says..
"error..missing method exception, this application requires a newer version of the microsoft .net compact framework than the version installed on this device? whats that mean guys?
Cheers Paul.
mr london said:
Hello, i just installed powerguard v1.3 but when i tried to open it its says..
"error..missing method exception, this application requires a newer version of the microsoft .net compact framework than the version installed on this device? whats that mean guys?
Cheers Paul.
Click to expand...
Click to collapse
Try this
http://www.microsoft.com/downloads/...49-3c6b-42f1-9fd9-0041345b3385&DisplayLang=en
or here
http://forum.xda-developers.com/showthread.php?t=347537
Sammy
netimes.com Sucks
samlives said:
Not sure,but I think you get 500mA charge from USB & 1A through powerpoint. I've been trying to find agood car charger as 500mA doesn'tcut it when running GPS. I found a 2A one
http://www.netimes.com/shop/2000-ma-miniusb-htc-mobile-car-charger-p-1342.html?cPath=80_612
I'm still trying to figure out if 2 amp is safe. I think the phone limits input so I think so. If anyone knows better, please enlighten me.
Sammy
Click to expand...
Click to collapse
Ok so I went ahead an bought this one.....piece of ****....I should have known.....
It doesn't supply 2 amps (even though it says so on the box. At best, it delivers 500mA. I went back to the site and they no longer supply it....looks like I was the final sucker to fall for their false advertising.
Try this little app
Cheers Spartan
Nice little program.
I just had an idea if it was possible to edit the batterystats.bin file. This way we do not have to calibrate whatsoever and possibly "trick" the phone to use the battery longer before shutting down.
As I understood from the forums, full charge 100% is around 4.2v and flat 0% around 3.5v. This bring us a delta of 0.7v = 100%. If we could edit and write say 3.3v at 0% then we would gain 0.2v and extend the battery life for another 20%+?
What do you think? Probably for a start, those with excellent battery life could help to post their batterystats.bin file and let the others with draining issues try out your calibration file?
Well it wont work.
First that file is basicly a logfile.
Second the sgs need that power to work right.
Third you can damage the battery if you try to lower the power to much.
So if you want better battery time you need to se what app you use and that kind of things.
You can also buy a battery so you have more power.
You can also try to change it under the day.
**DamianGTO Steam kernel. 348MB Ram. 1000HZ. ext2/jfs . js3 base**
Thanks for the reply.
Just thought that since the phone load is the same and thus power consumption rate remains, only possible issue would be the battery information to the phone is not accurate:
battery is either not yet fully charged before the phone cuts off charging and/or the battery is not yet fully depleted before the phone force shutdown thus showing the 'effect' of fast drain
coatercup said:
Thanks for the reply.
Just thought that since the phone load is the same and thus power consumption rate remains, only possible issue would be the battery information to the phone is not accurate:
battery is either not yet fully charged before the phone cuts off charging and/or the battery is not yet fully depleted before the phone force shutdown thus showing the 'effect' of fast drain
Click to expand...
Click to collapse
Well all is a calculation on the power in the battery, but the phone need to now what is the max value and the low value the battery have to make a right calculation. Thats way it often works to delete the file when you have full power.
So its very hard to use others file, it will not be how your battery is.
Maby there is some place in the system you can tweak this, but its not good for the battery to over load it or lower the power to much.
MAby you get a better battery life for some time, but the battery will get broken and bad alot faster, then you need to buy a new battery. So i dont see any gain on that..