- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, anyone have any idea how to read CPU Temperature on Android platform, I read some forum mentioned that we may use rd_msr with root access. Is there any other way we can do this without root access? Thanks.
Mooi Yee
- Tags:
- Android* OS
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
there is also the directory /sys/devices/platform/coretemp.0/temp?_input on my target. The ? are numbers ranging from 2-5 on my system. Don't ask my why it's starting with 2 to enumerate the cores...
Here is a sample output as shell user not root.
shell@byt:/sys/devices/platform/coretemp.0 $ cat temp3_input 31000
This is from an Intel reference design. I don't know how the different OEMs handle this. So it might work or might not work. You need to try it on your system.
Let me know if it helped!
Thanks, Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alex,
Yes, I can read that from my Dell Venue 8 Tablet, the value is 33000, may I know how to convert that to Celsius? Thanks.
Mooi Yee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
sorry for the late answer. Divide the result by 1000. So the CPU in your device has a temperature of 33° Celsius and mine had 31° Celsius.
Hope this helps!
Alex
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page