Hey guys.. I am developing an android app that monitors cpu temperatue based on the amount of load or task on it. I dont need battery temperature. Most of the sites and codes give battery temperature of the device but I require temperature of the core.
Thanks in advance.
Sent from my SHV-E160L
Did u try googling about it bro? Im not sure about this, but i will try to find too.
Sent from my E16i using Tapatalk 2
Yes I googled... but like in
dumpsys battery we get battery temperature. There isn't anything like cpu temp. I have also loooked into Sensor class of android that gives ambient temperature. But cant find CPU's.
Sent from my SHV-E160L
Deleted...
I'm looking for this app to,cant find it anywhere...and i need it so much
I'm not quite sure if there is a temperature diode for the CPU
Sent from my SonyX8 using Tapatalk 2
Depending on device and kernel, you can read CPU temperature from /sys/devices/system/cpu (**i don't remember the path right**).
It's really simple to do it, just getline(); and a loop, while(true){} or something like it, only if you want continuously readings.
Edit: As i said , it's device dependant. My CPU temp file can be found in /sys/htc/cpu_temp.
I don't know about other devices.
Regards,
Costin.
A bit old thread but im using this https://play.google.com/store/apps/details?id=org.alldroid.apps.tempmonitor&hl=en its working on n4 and now on n5...
Related
What is it? Purpose? How do you do it? How does it optimize my phone?
Sent from my Hero using XDA App
Google is your friend. Search CPU OVERCLOCKING.
Sent from my HTC Hero using XDA App
It's something cool, you could use SetCPU or Overclock Widget, and it's like adding rocket-fuel to a campfire.
ddotpatel said:
Google is your friend. Search CPU OVERCLOCKING.
Sent from my HTC Hero using XDA App
Click to expand...
Click to collapse
the time it took you to be a smart ass you could have just said what it did.
i did a search for it and yet it wasnt informative enough. hence why i came here and asked.
Google want enough? Wow! Over clocking increases the clock speed of your cpu making it calculate faster.
Sent from my Hero using XDA App
silver2kgti said:
the time it took you to be a smart ass you could have just said what it did.
i did a search for it and yet it wasn't informative enough. hence why i came here and asked.
Click to expand...
Click to collapse
Alright, then I'm sorry Google couldn't answer your question. (Which is odd, since overclocking is kinda popular.)
Anyways, Overclocking means to "Make the CPU go faster than it was designed for". Some devices "like the hero" can jump from 518mhz to a stable 691mhz by overclocking, this increases the speed of the CPU so that programs and the OS can work faster.
But overclocking is about finding the highest speed, while having the stability to use it. Since it's no use to overclock, if it makes your phone unusable to use. (Force closes, phone freezing etc.)
Overclocking CAN harm your device, if you take a too high value. But if you stay inside a stable zone, there shouldn't be any harm to your device.
You can experience that the phone is getting a bit hot, or that the battery is emptied faster than normal.
Since the CPU drains so much power, there are settings that allow to set a different clock (how fast the device should go in mhz) when the phone is at sleep. So that it can run at a much lower frequency, when you don't use it.
ROM developers normally post ( 691/197 ) or something at their thread, the first number is the CPU speed when it's on and you're using it. And the other is when the phone is at sleep.
If there's anything other you want the answer to, ask it here.
But, please use Gooogle search Before posting anything.
Overclocking increases the clock speeds of a CPU. And as a result means it can do *things* faster.
Overclocking on a desktop PC tends to increase the voltages to overclock the device over this isn't really an option on a phone as it has limited battery life. So overclocking on a phone is normally done by software changes. When CPU makers make a CPU they can not be 100% accurate on the performance of that chip - in fact its very much the opposite, so after each chip is made it is tested and then given a clock speed and locked to that, overclocking breaks that and allows you to manually increase the clock, however overclocking capabilities will be different on every device.
If you take an example of an Intel Chip, a 2.66GHz Core-2-Duo, this is exactly the same chip as the 3.06GHz however when tested it wouldn't run as fast so Intel sell it at a stable clock speed.
Overclocking the hero shouldn't really have any implications for the device, however overclocks can reduce the life-time of a CPU (and any other hardware you might overclock). You shouldn't notice much extra heat from the device as the voltages being used are not changing.
Hope that cleared some of it up for you.
silver2kgti said:
the time it took you to be a smart ass you could have just said what it did.
i did a search for it and yet it wasnt informative enough. hence why i came here and asked.
Click to expand...
Click to collapse
Did you forget to press the search button?
Some of the top results from google:
Wikipedia
What is Overclocking?
What is overclocking?
What is overclocking?
Overclocking Guide
Really was that so hard?
http://www.google.co.uk/m/url?ei=IA...YQFjAG&usg=AFQjCNFf_IXpZvXkmVVQlW64NFPETYHABA
Here they have managed to overclock the galaxy s to a wooping 1.6ghz, what could we acheive if we had cracked the kernal.?
Xenon.
P.s unaware if we are allowed to link to other sites, sorry in advance if so.!
Sent from my GT-I9100 using XDA Premium App
I don't think anyone has started to work on OC, but we would need to see what kernel sources we have first... Then we figure out how to OC
also it gets hot with long wifi downloads or 3g ie gps using aura so overclock may not be a good idea.
lgkahn said:
also it gets hot with long wifi downloads or 3g ie gps using aura so overclock may not be a good idea.
Click to expand...
Click to collapse
Overclocking doesn't mean that the CPU will get hotter as long as you aren't changing the voltage. If the CPU handle 1.4 Ghz on the standard voltage, it won't get warmer and also won't consume more battery.
Dual 1.4ghz wud b pretty sweet lol wat if we increased it to 1.6ghz n just increased the voltage a lil bit or is that a bad idea n p.s is it me or since Root my fone only reaches 3.5k on the quadrent ive deleted alot of samsung apps n my memory is usualy at around 250mb iv seen people score ova 4k in their s2,
Xenon,
Sent from my GT-I9100 using XDA Premium App
XenonAndroid said:
Dual 1.4ghz wud b pretty sweet lol wat if we increased it to 1.6ghz n just increased the voltage a lil bit or is that a bad idea n p.s is it me or since Root my fone only reaches 3.5k on the quadrent ive deleted alot of samsung apps n my memory is usualy at around 250mb iv seen people score ova 4k in their s2,
Xenon,
Sent from my GT-I9100 using XDA Premium App
Click to expand...
Click to collapse
Might be a good idea, might not work because the CPU might already be near it's maximum. It'll definitely be worth it if you want to push out amazing benchmark scores, though! Just might not be stable enough to use for a daily phone if overclocked heavily.
cTrox said:
Overclocking doesn't mean that the CPU will get hotter as long as you aren't changing the voltage. If the CPU handle 1.4 Ghz on the standard voltage, it won't get warmer and also won't consume more battery.
Click to expand...
Click to collapse
This is completely wrong. It is very well known that incresing the frequency increases the power consumption (also with same voltage). Just google if you don't believe me.
cTrox said:
Overclocking doesn't mean that the CPU will get hotter as long as you aren't changing the voltage. If the CPU handle 1.4 Ghz on the standard voltage, it won't get warmer and also won't consume more battery.
Click to expand...
Click to collapse
What a lot of bull**** dude.
Of course more speed on a processor will consume more power even if dont change the voltage.
Learn some science basics before make stupid statements
Hey all just curious. On some kernels I see it allows me to adjust the values and save them upon reboot. Im trying different sampling rates and might have a decent set up if anyone wanted to try it to save battery. I came across a nice write up somewhere ill link up later when im on a computer that inspired my testing.
Sent from my SGH-T959 using XDA Premium App
ya its overclocking its nice makes the phone fast
Maybe I dont understand im talking about the advanced tab. It allows to manipulate the scheduling of the cpu. As I understand it the lower the sampling rate the more often in a second the cpu runs its tasks. So by raising that number the cpu isnt constantly running the same tasks as uselessly. This is my rough understanding and my juice plotter results are substantiating my claims.
Sent from my SGH-T959 using XDA Premium App
Hi all,
so far i havent seen any kernel or module that supports reading the current temperature of the CPU on galaxy s2. Is there any kernel that supports it? Is any of the developers already working on it?
Any solution for monitoring CPU temperature?
OT: sorry for this off topic post but here you are bala. I've heard you bricked your sgsl? Anyway, i was thinking of buying an s2. Good to know there is a fellow sgsl user here
Sent from my GT-I9003 using XDA Premium App
ephraim033 said:
OT: sorry for this off topic post but here you are bala. I've heard you bricked your sgsl? Anyway, i was thinking of buying an s2. Good to know there is a fellow sgsl user here
Sent from my GT-I9003 using XDA Premium App
Click to expand...
Click to collapse
Nice to see u here, i didnt bricked but smocked it once when i was fiddling with overclocking module and got a replacement from service center.But this S2 is mindblowing when compared to SL, so you can get it without a doubt
bala_gamer said:
Nice to see u here, i didnt bricked but smocked it once when i was fiddling with overclocking module and got a replacement from service center.But this S2 is mindblowing when compared to SL, so you can get it without a doubt
Click to expand...
Click to collapse
I see.. Will be joining the sgs2 clan soon buddy.. But will stay faithful in sgsl.. Anyway, glad to know your sl is ok..
Sent from my GT-I9003 using XDA Premium App
No one to answer this?? So bad... DO people think monitoring CPU temperature in S2 is useless?
I think CPU/GPU temperature monitor is very useful. However, the question comes down to does the CPU/GPU have a temperature sensor built in, and how to access the information from the monitoring chip.
Most of the hardware are closed source and either requires leaked information or reverse engineering.
If there is a temperature sensor built in, and the stock rom can access the information, then there will be a kernel with this feature coming soon.
So far, I only seen Battery Temperature monitor because the batteries have a BMS, and sadly do not see any application or stock rom function to check CPU/GPU temperature.
Thanks for your reply, i dont think a mobile with all those goodies (and cost) will lack a sensor in hardware, as there are only a very few phones having theses sensors for cpu temperature reading lets hope there are some drivers which can be combined with the kernel to read those.
+1 to monitor CPU/GPU temp. But flashing a different kernel is not a good idea. Sammy better put this feature in their kernel in future firmware update.
Regards.
bala_gamer said:
Thanks for your reply, i dont think a mobile with all those goodies (and cost) will lack a sensor in hardware, as there are only a very few phones having theses sensors for cpu temperature reading lets hope there are some drivers which can be combined with the kernel to read those.
Click to expand...
Click to collapse
What you are stating is an assumption, which doesn't make it true.
Here's my assumption, the official kernel is open source, if there are thermal diode in cpu, and a monitoring controller to access the temperature, it is in the source codes. If there are no applications in the original rom, and there are no 3rd party application that can tell you the temperature of the cpu. Then my assumption is it might not be available.
Of course, my assumption doesn't mean I wish there isn't one. I wish there is!
On a side note, [Q] Brutal OverHeat and Brutal Battery Drain!!! thread seems to be talking about system temperature, or might be battery temperature, perhaps they have an app installed?
@ LiFE1688
They are talking about battery temperature on that thread... It would be better if some good recognized developers have a look on it.... Hope this mob has that sensor. Generally these latest generation ARM processors should have it, and if there is one a driver from samsung opensource would be awesome to have this feature.
Hello
This is a prob faced by all coc users....it uses too much power and battery gets hot.....can anyone change its coding or something changing its use of GPU AND GNU or whatever to less battery drain?
Sent from my LG-F160L using Tapatalk
I doubt anyone will reply because:
- Clash of Clans is closed source and seems to be obfuscated also, so editing is a pain and may even violate its licence (didn't read it)
- Trying to optimize a game is super hard even if you would have the source code in your hands, especially if the game does a lot (calculate, grapics, network and others)
So best would be to try and get support from the COC developers directly.
MyPictures said:
I doubt anyone will reply because:
- Clash of Clans is closed source and seems to be obfuscated also, so editing is a pain and may even violate its licence (didn't read it)
- Trying to optimize a game is super hard even if you would have the source code in your hands, especially if the game does a lot (calculate, grapics, network and others)
So best would be to try and get support from the COC developers directly.
Click to expand...
Click to collapse
Then perhaps anyone can develop a module to allow an app to only use a limited amount of battery energy coz some person tested coc's use of energy in terminal emulator. Before coc was launched the cpu usage was 2-3% and battery drain was merely 1% per 2 mins max but when it was launched cpu usage rose up to 30% and battery drain was 3% per 2 mins minimum! Can anyone develop or tell me a module that lets an app only use a specific amount of cpu and allows only specific amount of battery energy?
Sent from my LG-F160L using Tapatalk
tanveer7652 said:
Then perhaps anyone can develop a module to allow an app to only use a limited amount of battery energy coz some person tested coc's use of energy in terminal emulator. Before coc was launched the cpu usage was 2-3% and battery drain was merely 1% per 2 mins max but when it was launched cpu usage rose up to 30% and battery drain was 3% per 2 mins minimum! Can anyone develop or tell me a module that lets an app only use a specific amount of cpu and allows only specific amount of battery energy?
Sent from my LG-F160L using Tapatalk
Click to expand...
Click to collapse
If you have a rooted device, you can manually set the maximum available CPU level by yourself.
orville87 said:
If you have a rooted device, you can manually set the maximum available CPU level by yourself.
Click to expand...
Click to collapse
Yes im rooted with xposed....canbu explain how to do that?
Sent from my LG-F160L using Tapatalk
tanveer7652 said:
Yes im rooted with xposed....canbu explain how to do that?
Sent from my LG-F160L using Tapatalk
Click to expand...
Click to collapse
You could use an app like Kernel Adiutor for example. It even has a Tasker plugin, so you are able to set the maximum CPU frequency to a desired maximum value if you open COC.