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

Search This thread

waterdaan

Senior Member
Oct 25, 2013
491
274
CpuFloat

Uses a floating window or the status bar to show

# the cpu frequencies
# the cpu temperature if (available)
# the text will turn red when the cpu temperature rises above the throttle temperature. You can set custom throttle temperature in preferences.
# the gpu frequency
# Gpu load; not normalised
# the gpu temperature if (available)
# the text will turn red when the gpu temperature rises above the throttle temperature.
# awake time; the time the phone has been awake since starting the app
# deep sleep time; the time the phone has been asleep since starting the app
# battery current
# battery current
# current upload and download speed

In preferences you can choose
# floating window layout; vertical or horizontal layout
# to show the window in the status bar instead of a floating window
# the categories to monitor; all, cpu, gpu, time, network
# which temperature sensor to use for cpu and gpu temperature
# to show the temperature in Fahrenheit instead of Celsius
# cpu throttle point; cpu temperature when the text should turn red

The app uses following permissions:
"android.permission.SYSTEM_ALERT_WINDOW" Needed for floating window, draw over other windows.
"android.permission.READ_EXTERNAL_STORAGE" Read data to show e.g. Cpu frequency, temperature etc.
"android.permission.VIBRATE"

Credits to:
CM Calculator apk for user interface logic
@m11kkaa for temperature file paths and thread http://forum.xda-developers.com/xposed/modules/mod-cputemp-statusbar-t2494170
@existz for awake and deep sleep time method http://forum.xda-developers.com/google-nexus-5/themes-apps/app-cpu-spy-material-v1-0-t2948627
@Grarak for GPU frequency file paths http://forum.xda-developers.com/android/apps-games/app-kernel-adiutor-t2986129
consp1racy for SeekBarPreference https://github.com/consp1racy/android-support-preference
The Tester for catching exceptions and throwing ideas

For automatic updates:


 

Attachments

  • Screenshot_2015-09-18-04-05-42.png
    Screenshot_2015-09-18-04-05-42.png
    110.4 KB · Views: 8,020
  • CpuFloat_1.0.apk
    104.2 KB · Views: 864
  • CpuFloat_1.1.apk
    138.5 KB · Views: 226
  • CpuFloat_1.2.apk
    141.9 KB · Views: 131
  • CpuFloat_1.3.apk
    153.9 KB · Views: 307
  • Screenshot_2015-10-04-21-46-02.png
    Screenshot_2015-10-04-21-46-02.png
    189.1 KB · Views: 13,007
  • CpuFloat_1.4.apk
    73.4 KB · Views: 203
  • CpuFloat_1.5.apk
    75.3 KB · Views: 204
  • CpuFloat_1.6.apk
    77 KB · Views: 143
  • CpuFloat_1.7.apk
    82 KB · Views: 283
  • CpuFloat_1.8.apk
    84.6 KB · Views: 320
  • Screenshot_2015-10-31-03-17-28.png
    Screenshot_2015-10-31-03-17-28.png
    197.4 KB · Views: 10,416
  • Screenshot_2015-10-31-03-43-15.png
    Screenshot_2015-10-31-03-43-15.png
    222.5 KB · Views: 8,490
  • CpuFloat_2.0.apk
    101.5 KB · Views: 323
  • Screenshot_2015-11-12-01-36-51.png
    Screenshot_2015-11-12-01-36-51.png
    151.9 KB · Views: 8,907
  • CpuFloat_2.2.2.apk
    97.1 KB · Views: 197
  • CpuFloat_2.2.4.apk
    101.7 KB · Views: 480
  • app-release2_3_5.apk
    102.1 KB · Views: 382
  • CpuFloat.2.3.8.1.apk
    106.9 KB · Views: 4,148
Last edited:

waterdaan

Senior Member
Oct 25, 2013
491
274
Request
If you´d like to use the app in your native language, you can!

How?
Download the string resource file, copy it and the translate the underlined part, for example
<string name="settings">Settings</string>
becomes
<string name="settings">Instellingen</string>
and post it in this thread.

Thanks!


ChangeLog:
March 17
-startup bug, thanks to Bryan
-GPU frequency on some devices
+battery temperature

Older changelogs:

September 26
- bugs
+ battery current correction
+ clear data dialog in case of fatal crash
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
June 14
Fixed crash
Improve right to left layout
June 12
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
November 12
# added some animations
# 'material' window look
# layout changes in case of more than 7 cpu cores
# broadcast listener for landscape/ portrait change
in preferences
# turn on/off vibration
# restore default values

November 3
# user interface logic

November 1
# fixed preference bugs

October 31
# manually set which temperature sensor to use for the cpu and gpu temperature

October 25
# hopefully fixed force close on start

October 23
# fix bug, window not showing on start
# custom cpu temperature trippoint in preferences

October 19
# used some icons instead of text
# option to show window in status bar

October 17
# started to make it work on other phones
# cpu and gpu temperature file info in preferences

October 14
# more layout options
# bugs and performance fixes

October 11
# no more StandOutWindow library
# no notification
# improved long press detection

October 4
# monitor up and download speed
# option to show the temperature in Fahrenheit

October 1
# warning in case the temperature reaches the throttle temperature of cpu or gpu
# tap app window to close
# long press app window for preferences
Preferences:
# choose horizontal / vertical layout
# choose what to monitor

September 27
# rewritten to make it easier to use on other phones
# new app icon
# smaller window
//TODO make preferences
 

Attachments

  • strings.xml
    9.1 KB · Views: 156
Last edited:

1ceb0x

Senior Member
Jun 25, 2010
5,666
6,332
The Earth
Nice app - similar to the one developed by Chainfire (called Perfmon) but this one shows you the awake time and the temps.

Thank you for this
 
  • Like
Reactions: waterdaan

waterdaan

Senior Member
Oct 25, 2013
491
274
Update
Rewritten
Much smaller now
# no notification
# no more StandOutWindow library
# improved long press detection

Because of a change in package name,
please delete previous version, else you'll end up with 2
 
Last edited:

waterdaan

Senior Member
Oct 25, 2013
491
274
Update
# started to make it work on other phones
# cpu and gpu temperature file info in preferences

Request
I'm trying to get the app to work on other phones, so if you have another phone, please test what's working.

If there's no cpu temperature, that probably means that the app can't find the temperature files. These are not the same on every phone.
If the phone is rooted, you can help me by copying and pasting below code in command line, with for example this app https://play.google.com/store/apps/details?id=jackpal.androidterm
And posting the outcome here, so I can add the missing file.
Code:
su
find /sys -type f -name *temp* -print0|while read -d $'\0' f; 
do printf "$f= "&&cat "$f";done;


Thanks!
Gpu temperature is a bit more difficult, because you need to find out which temperature sensor is for the gpu, I found that information for the oneplus in
/etc/thermal-engine-8974.conf
attachment.php
Reported working on:
OnePlus fully working
Moto X gpu temperature not working
Samsung S4 gpu temperature not working

Thank you!!
 
Last edited:

waterdaan

Senior Member
Oct 25, 2013
491
274
Update
# used some icons instead of text
# option to show window in status bar

Edit
The app is fully working on the Sony Z3 Compact, it even uses the same files for cpu temperature and gpu temperature, maybe because it also has a snapdragon 801, but I'm not sure about that.
 
Last edited:
  • Like
Reactions: eodchn and dude6595

Killerkip

Member
Oct 8, 2010
32
22
I must be missing something but how do I reopen the window after having tapped on it to close it?

Because opening the app from the drawer takes me to the preferences screen.
 
Last edited:
  • Like
Reactions: waterdaan

waterdaan

Senior Member
Oct 25, 2013
491
274
I must be missing something but how do i reopen the window after having tapped on it to close it?

because opening the app from the drawer takes me to the preferences screen.
You're right, that's not very clear, I'll see if I can change that.
For now just change something in the preference screen and a new window will open.
Thank you for your reaction
 
  • Like
Reactions: Killerkip

Top Liked Posts

  • There are no posts matching your filters.
  • 34
    CpuFloat

    Uses a floating window or the status bar to show

    # the cpu frequencies
    # the cpu temperature if (available)
    # the text will turn red when the cpu temperature rises above the throttle temperature. You can set custom throttle temperature in preferences.
    # the gpu frequency
    # Gpu load; not normalised
    # the gpu temperature if (available)
    # the text will turn red when the gpu temperature rises above the throttle temperature.
    # awake time; the time the phone has been awake since starting the app
    # deep sleep time; the time the phone has been asleep since starting the app
    # battery current
    # battery current
    # current upload and download speed

    In preferences you can choose
    # floating window layout; vertical or horizontal layout
    # to show the window in the status bar instead of a floating window
    # the categories to monitor; all, cpu, gpu, time, network
    # which temperature sensor to use for cpu and gpu temperature
    # to show the temperature in Fahrenheit instead of Celsius
    # cpu throttle point; cpu temperature when the text should turn red

    The app uses following permissions:
    "android.permission.SYSTEM_ALERT_WINDOW" Needed for floating window, draw over other windows.
    "android.permission.READ_EXTERNAL_STORAGE" Read data to show e.g. Cpu frequency, temperature etc.
    "android.permission.VIBRATE"

    Credits to:
    CM Calculator apk for user interface logic
    @m11kkaa for temperature file paths and thread http://forum.xda-developers.com/xposed/modules/mod-cputemp-statusbar-t2494170
    @existz for awake and deep sleep time method http://forum.xda-developers.com/google-nexus-5/themes-apps/app-cpu-spy-material-v1-0-t2948627
    @Grarak for GPU frequency file paths http://forum.xda-developers.com/android/apps-games/app-kernel-adiutor-t2986129
    consp1racy for SeekBarPreference https://github.com/consp1racy/android-support-preference
    The Tester for catching exceptions and throwing ideas

    For automatic updates:


    5
    Request
    If you´d like to use the app in your native language, you can!

    How?
    Download the string resource file, copy it and the translate the underlined part, for example
    <string name="settings">Settings</string>
    becomes
    <string name="settings">Instellingen</string>
    and post it in this thread.

    Thanks!


    ChangeLog:
    March 17
    -startup bug, thanks to Bryan
    -GPU frequency on some devices
    +battery temperature

    Older changelogs:

    September 26
    - bugs
    + battery current correction
    + clear data dialog in case of fatal crash
    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
    June 14
    Fixed crash
    Improve right to left layout
    June 12
    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
    November 12
    # added some animations
    # 'material' window look
    # layout changes in case of more than 7 cpu cores
    # broadcast listener for landscape/ portrait change
    in preferences
    # turn on/off vibration
    # restore default values

    November 3
    # user interface logic

    November 1
    # fixed preference bugs

    October 31
    # manually set which temperature sensor to use for the cpu and gpu temperature

    October 25
    # hopefully fixed force close on start

    October 23
    # fix bug, window not showing on start
    # custom cpu temperature trippoint in preferences

    October 19
    # used some icons instead of text
    # option to show window in status bar

    October 17
    # started to make it work on other phones
    # cpu and gpu temperature file info in preferences

    October 14
    # more layout options
    # bugs and performance fixes

    October 11
    # no more StandOutWindow library
    # no notification
    # improved long press detection

    October 4
    # monitor up and download speed
    # option to show the temperature in Fahrenheit

    October 1
    # warning in case the temperature reaches the throttle temperature of cpu or gpu
    # tap app window to close
    # long press app window for preferences
    Preferences:
    # choose horizontal / vertical layout
    # choose what to monitor

    September 27
    # rewritten to make it easier to use on other phones
    # new app icon
    # smaller window
    //TODO make preferences
    4
    Update
    - bugs
    + battery current correction
    + clear data dialog in case of fatal crash
    4
    Update

    # warning in case the temperature reaches the throttle temperature of cpu or gpu
    # tap app window to close
    # long press app window for preferences
    Preferences:
    # choose horizontal / vertical layout
    # choose what to monitor
    3
    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