[APP] CpuFloat [March27] Floating cpu, gpu, temperatures, deep sleep, network monitor

m11kkaa

Recognized Developer / Inactive Recognized Contrib
Jan 20, 2011
1,259
2,145
0
thx for this. For me it was just a "I share my code and other people can create sth. awesome from it" project. great work :)
 
  • Like
Reactions: waterdaan

waterdaan

Senior Member
Oct 25, 2013
506
276
0
thx for this. For me it was just a "I share my code and other people can create sth. awesome from it" project. great work :)
Thanks for stopping by
The Sony Z3 compact has the exact same cpu and gpu temperature files, and the same soc; snapdragon 801".
Do you know if the temperature files are soc dependant?
Same soc, same temperature files?
 

m11kkaa

Recognized Developer / Inactive Recognized Contrib
Jan 20, 2011
1,259
2,145
0
Thanks for stopping by
The Sony Z3 compact has the exact same cpu and gpu temperature files, and the same soc; snapdragon 801".
Do you know if the temperature files are soc dependant?
Same soc, same temperature files?
usually they are only soc dependent so all devices with the same soc should use the same files(in qcom terms 'thermalzone').

---------- Post added at 08:22 AM ---------- Previous post was at 07:26 AM ----------

also, this app crashes on start on my MotoE:
Code:
E/AndroidRuntime(20128): FATAL EXCEPTION: main
E/AndroidRuntime(20128): Process: com.waterdaan.cpufloat, PID: 20128
E/AndroidRuntime(20128): java.lang.RuntimeException: Unable to create service com.waterdaan.cpufloat.CpuFloat: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
E/AndroidRuntime(20128): 	at android.app.ActivityThread.handleCreateService(ActivityThread.java:2804)
E/AndroidRuntime(20128): 	at android.app.ActivityThread.access$1900(ActivityThread.java:154)
E/AndroidRuntime(20128): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1404)
E/AndroidRuntime(20128): 	at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(20128): 	at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(20128): 	at android.app.ActivityThread.main(ActivityThread.java:5294)
E/AndroidRuntime(20128): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(20128): 	at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(20128): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
E/AndroidRuntime(20128): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
E/AndroidRuntime(20128): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference
E/AndroidRuntime(20128): 	at com.waterdaan.cpufloat.CpuFloat.onCreate(CpuFloat.java:746)
E/AndroidRuntime(20128): 	at android.app.ActivityThread.handleCreateService(ActivityThread.java:2794)
E/AndroidRuntime(20128): 	... 9 more
 
  • Like
Reactions: waterdaan

waterdaan

Senior Member
Oct 25, 2013
506
276
0
Update
# manually set which temperature sensor to use for the cpu and gpu temperature

@m11kkaa do you know if all phones with a snapdragon use /sys/class/hwmon/ for the temperature? The phones that I have access to, all with snapdragon, all use this directory, or is that a coincidence? Or does that come from Linux?
Thanks!
 

m11kkaa

Recognized Developer / Inactive Recognized Contrib
Jan 20, 2011
1,259
2,145
0
Update
# manually set which temperature sensor to use for the cpu and gpu temperature

@m11kkaa do you know if all phones with a snapdragon use /sys/class/hwmon/ for the temperature? The phones that I have access to, all with snapdragon, all use this directory, or is that a coincidence? Or does that come from Linux?
Thanks!
I don't know that but I guess you should perform feature checks instead of platform checks where possible to determine the correct sysfs node.
 
  • Like
Reactions: waterdaan

waterdaan

Senior Member
Oct 25, 2013
506
276
0
Update
If you´d like to help out with the translation, the string resources are attached in this post
http://forum.xda-developers.com/showpost.php?p=62882412&postcount=2
Thanks!

Added
#Text size
#Show window on the navigation bar
#Update interval (100ms - 3000ms)
#Number of CPUs to monitor
#First time helpful animation
#About screen
#Now on Google Play Store
Fixes and improvements
#Don´t update when the screen is off
#Don´t kill service when changing the window layout
#Language in settings
#Support more GPUs
#Use SeekBarPreferences in settings
#..

Please uninstall previous version


 
Last edited:

waterdaan

Senior Member
Oct 25, 2013
506
276
0
update September 24
+ battery current monitor
+ notification; enable if CpuFloat suddenly disappears
+ set monitor defaults
+use android M (6) permissions
+important notice about app permissions for android M (6) and up
+transparent background
+GPU trippoint
+ changelog
- some bugs
 

yobolegend

Member
Oct 24, 2016
45
8
8
battery temp monitor

i love this app. complete and concise. just request if possible can u also add baterry temp monitor and it will be perfect. Tnx

Working well in Lg-d858hk fulmics 6.6
and lenovo S60
 
  • Like
Reactions: waterdaan

waterdaan

Senior Member
Oct 25, 2013
506
276
0
i love this app. complete and concise. just request if possible can u also add baterry temp monitor and it will be perfect. Tnx

Working well in Lg-d858hk fulmics 6.6
and lenovo S60
Thank you for your nice reaction!
There are currently no plans to add baterry temperature, maybe some day, who knows...
As a workaround you can choose the battery temperature sensor to show the temperature for the gpu. To find the correct sensor, I think that in general the battery has the lowest temperature.
 
  • Like
Reactions: yobolegend

loretta1980

Senior Member
Jan 28, 2015
62
4
28
Hi, great app. I also would like to see the batterytemp because i use a samsung phone, and every body knows how dangerous these devices can be ;)
Do you know the sensor name for the battery temp of the Samsung S4 i9506 LTE-A? @yobolegend: do you really think that the temperature of the emmc_therm sensor is the closest to the battery? i thougt emmc is a storage or something like that.
 
Last edited:
  • Like
Reactions: waterdaan