Using
HTML:
adb shell dumpsys battery set level 5
I can moch battery level. How I can mock battery temperature. For example set it for 20 degrees. And Android sees this 20 degrees, and don't see real battery's temperature.
Bro xda is dead no one replies anymore use something like android central xda won't help you anymore. For example I once did a post that said how to factory reset a phone and got no responses ? lol
The mods will probably ban me now idc perm ban me im switching to android central byeeeeee
kantakt said:
Using
HTML:
adb shell dumpsys battery set level 5
I can moch battery level. How I can mock battery temperature. For example set it for 20 degrees. And Android sees this 20 degrees, and don't see real battery's temperature.
Click to expand...
Click to collapse
reboot your device and "adb shell dumpsys battery". this will display real information
Battery Service state:
AC powered: true
USB powered: false
Wireless powered: false
status: 5
status: 1
health: 2
present: true
present: false
level: 100
level: 50
scale: 100
voltage: 4233
temperature: 280 (28,0 C*)
technology: Li-ion
my sensor shows 20 degrees more than in room
syntax error While
syntax error if
Related
Wonder if anybody has a similar problem.
I use my XDA for work, guessing a lot of people do that, doh! And I work in a warehouse/ outside in UK.
Anyway here goes. By cold temperatures, I mean British weather! Which is in the positive Celcius range, so not that cold..
Last night it happened again. I was out in a field near Hull, working! I made a phone call, then the battery light goes red, 10% battery. In a field how do I charge it!! Simple, stick it in my pocket to warm it up. Within minutes the XDA has 60% again!!
Please any tips or similar experiences. I know that the summer is coming so things look up. But what happens when Autumn comes around again, well my contract is up, so a new phone I do believe!!!! And the XDA will just be a pocket PC, to keep in doors in the warmth.... Maybe a sony...
Martin
Cold and batteries
From: http://www.argreenhouse.com/papers/tony2/ECS00_Bond_Untr.pdf:
Tests of low-temperature discharge rate capability of various commercial Li-ion batteries showed that on average only ca. 30 % of battery capacity can be obtained at a C/2 rate at a temperature of -20 Celsius, and less than 10 % at 1C. Batteries described in this work exhibited higher capacity at C/2 at -20 Celsius (Fig. 10) than most of the recent commercially available Li-ion batteries tested. The discharge rate capability of these samples was a strong function of temperature; at a 2C rate, the capacity utilization decreased from ca. 90 % at 21 Celsius to 24 % at 0 Celsius and less than 2 % at -20 Celsius. In the above example, the C/2 capacity was 99, 95 and 37 % at 21, 0 and -20 Celsius, respectively.
Click to expand...
Click to collapse
(A discharge rate of 1C means "as many Amps as there are AmpHrs in the battery, i.e. theoretically discharging the battery in exactly one hour.)
Polar equipment often has separate battery holders: device out in the open where fingers can touch it, batteries inside insulated clothing with warm human. Tummy or inside of upper leg are warmest...
Thank you
That answers the question then.
Their developing better batteries....
Anybody else have similar experiences though...
Martin
Get yourself a battery pack - runs off 4 AA's. (Search ebay under xda). Absolutely invaluable for traveling.
Regards
Tim
hello i got an optimus one...
ok ther is not a cpu temperature sensor.
but my battery report 2.3 °C .... is strange
ther is some app that correct read battery temperature on p500?
tnx
try Elixir
i have try
elixir report battery 2.5 °C
i have trai stock 2.2 , void and devoid rom and i have the same error...
is my battery fault?
Why do you want to know the battery's temperature ?
why not? are your battery temperature sensor working?
Not working here either
From what I've seen in the past month since I have this phone, nobody is able to get a correct reading of their battery temperature, no matter what application they used. The LG Optimus One always reports the temperature in the range of 2.x - 3.x degrees Celsius.
So, scoppyxda, your phone and battery are actually fine, don't worry. I hope this issue is fixed with the next Android version (2.3).
everythin reports it wrong except batteryminder..search for it in the market
I guess that the real temp is divided by a factor of 10. I say "i guess" because when i do something power hungry (like listening to streaming radio) the temp raises to 3.8 and the phone bak is quite hot.
I think it shows temp in deg. Fahrenhiet by default and app has to change it to deg. celcius.
Mik can fix this 5 mins if he spends time
I played with this a while today - I tried to multiply temp by 10 and voltage by 1000 in battery driver.
For voltage, it worked (see screenshot). When I tried to multiply temp by 10, apps showed it correctly, but android yelled that battery is overheated. So, android API gives wrong values to applications?
Make the api assume that it's normal ;p
Maybe the fahrenheit temp is actually the celsius temp.
And the celsius temp is the wrong temp.
I think it's...
Correct Values
While using myPhoneExplorer (usb connection) i get more realistic values. The monitor gives me figures in the range of 23-28 deg Celsius.
moses1202 said:
Maybe the fahrenheit temp is actually the celsius temp.
And the celsius temp is the wrong temp.
I think it's...
Click to expand...
Click to collapse
It isnt, battery driver returns value in celsius, fahrenheits are calculated from it by android.
I've posted the same question in the void forum (which is the ROM i'm currently using) it seems to be a problem with the model of the phone itself. So everyone will have the same results. I was told to just multiple the value by 10 to get the accurate degree.
I've noticed a wide difference in battery operating temperatures between different manufacturers. One battery consistently runs at 25 degrees C while another one runs at 38 to 40 degrees C. I'm worried that while using the higher temperature battery that I'm damaging my phone. Should I discontinue using the higher temperature battery?
rlu2 said:
I've noticed a wide difference in battery operating temperatures between different manufacturers. One battery consistently runs at 25 degrees C while another one runs at 38 to 40 degrees C. I'm worried that while using the higher temperature battery that I'm damaging my phone. Should I discontinue using the higher temperature battery?
Click to expand...
Click to collapse
I find anything over 35C to be uncomfortable, but is that temp what the battery rated for or actually produces? It was my understanding that that was the temp it could safely withstand.
rlu2 said:
I've noticed a wide difference in battery operating temperatures between different manufacturers. One battery consistently runs at 25 degrees C while another one runs at 38 to 40 degrees C. I'm worried that while using the higher temperature battery that I'm damaging my phone. Should I discontinue using the higher temperature battery?
Click to expand...
Click to collapse
I can tell you from experience that HTC phones will shut themselves off before they can damage the phone or the battery. The battery has a much lower temperature range of operation than just about anything else. IC are virtually untouched by heat below 90c. At that point, the mode of failure tends to be a degradation in the doped silicon that the transistors are made off, and it usually happens over time, not instantaneously.
Thank you!
Thank you for your very informative reply!
I'm working on a research project about Android smartphones power consumption. Using "adb shell dumpsys batterystats" interesting stats can be obtained. For example:
Statistics since last charge: System starts: 0, currently on battery: false
Time on battery: 1h 0m 38s 51ms (99.7%) realtime, 1h 0m 38s 50ms (99.7%) uptime
Time on battery screen off: 30m 21s 169ms (49.9%) realtime, 30m 21s 169ms (49.9%) uptime
Total run time: 1h 0m 47s 207ms realtime, 1h 0m 47s 207ms uptime
Start clock time: 2016-06-18-22-57-54
Screen on: 30m 16s 882ms (49.9%) 1x, Interactive: 30m 16s 367ms (49.9%)
Screen brightnesses:
dark 10s 89ms (0.6%)
light 30m 6s 793ms (99.4%)
....
Estimated power use (mAh):
Capacity: 6700, Computed drain: 298, actual drain: 335-402
Screen: 244
Unaccounted: 36.9 ( )
Uid u0a90: 15.8 ( cpu=15.8 )
Uid 1000: 9.58 ( cpu=9.49 sensor=0.0868 )
.....
As far as I know, the power_profile.xml is used to estimate the power consumption of each hardware component, and differs from device model to another.
Now I have couple of questions:
Q1: How does Android compute the actual drain ? I looked everywhere and I can't seem to find an answer. I also checked Android code, but unfortunately I couldn't identify the implementation of the method theat is responsible for "actual drain".
Q2: How Android estimates the screen power consumption ? the screen's value when it is on "light = 75%" state is:
ligh: 120.96 ( and it's in mA according to the power_profile.xml), I found this value on Nexus 9.
However, the report says the consumption is 244 mAh for about 30 mins, it doesn't make sense to me ! Can you guys explain it ? I tried to check the source code but again I couldn't find it.
Q3: How accurate these values in the power_profile.xml ? I found here some posts reporting some issues for Samsung devices. But I don't know about Nexus 9.
I have redmi note 4 . During charge my phone it becomes hot.. i installed cpu z to check temperature...I found that chg-temp is 55 degree during charge and 46 degree without charge in draining ....so is that normal or not
Depends on ambient temperature but 46 degrees is way too high. It runs cooler even when doing heavy tasks like gaming even when playing asphalt 8 it never exceeds 40 degrees. It becomes more hot when charging although it never exceeded 43 degrees while charging. It is one of the coolest device.
55 degrees is way too high it never touch that when holding it under the direct sunlight in summers when outside temperature is around 50 degrees. In this condition mine mine never exceeded 50 degrees.
I reach 40°C when charging, playing EverWing, and listening to Spotify for 2-3 hours non-stop. Granted I'm indoors with ambient temperature of around 20°C. Charging, playing, or watching videos outside in direct sunlight will greatly increase SOC temperature, specially if your phone is the black variant.
In Egypt ambient temperature reaches 35 c so is it affect my cell phone temp
Also I am asking about charge temperature in cpu z program.....other temperature in my device don't reach 40 c but only chg-temp reach 55 c
hshanafy said:
Also I am asking about charge temperature in cpu z program.....other temperature in my device don't reach 40 c but only chg-temp reach 55 c
Click to expand...
Click to collapse
Ignore it. Its fine. Not for our use. One of the temp in this showing 78 degrees.