yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] hawkerpaul:
Yes I'm on the stable one.

I can't quite put my finger on it. More often than not it seems the timers do not automatically reset when I disconnect the charger. It resets properly on disconnecting probably 30% of the time.

Not to worry, I just look out for it and do a manual reset if they did not reset on their own.

Thanks mate
[Android Apps and Games] ironia.:
it's possible to have also a minimum cpu infos (only info no set), like:

-governor

-scheduler

-min/max cpu
[Android Apps and Games] realgpp:
yes it is. It'll be in the next release :good:
[Android Apps and Games] realgpp:
new release

Changelog 0.5.01

added "All states <1%" row in the bar graph view indacating the total time of those freqs under the 1% of total usage. It's visible only when states<1% are hided.

added minimum cpu infos:

- "Freq range" shows the min-max freqs values your kenerl support;

- "Scaling range" shows the min-max freqs your governor is using;

- "Governor"... well you know, it shows the running governor :D

fixed bug of overload connection timer values (at least I hope so)

fixed strange reaction to cable events
[Android Apps and Games] Karpfenhai:
Hai fatto troppo bene ;)

But could you place the "Other" stats on top of the list?

Maybe hideable like the network stats?

Its getting to much information somehow ;)

Tante Grazie!
[Android Apps and Games] ironia.:
tnx, i'll try asap

cheers
[Android Apps and Games] realgpp:
Here you go! :) Maybe too fast? :D :D

Changelog 0.5.02

"All states <1%" can be hidden/shown by clicking the header "Time In State"

"All states <1%" can be shown on top or bottom of the bar graph through the setting in the preference.

removed submenu of "Less than 1% usage states (i.e. ecc)" because redundant.

added link to this thread in the Information View
[Android Apps and Games] Silentbob999:
Lol you make me install 2 different versions in 20 second.... Did not expect another version on the next pages... That was fast ;-)

Thanks you for your application.

Envoyé depuis mon GT-I9000 avec Tapatalk
[Android Apps and Games] realgpp:
Yeah :)

I had a little free time so I decided to add the request immediatly ;)
[Android Apps and Games] cdmackay:
Have you thought about starting a new thread for your version? It would help to have an uptodate OP, at the least... finding the latest version at the moment is a little hit and miss :)
[Android Apps and Games] Pkt_Lnt:
Agree CPUSpy - gpp has done so much it deserves it's own thread.
[Android Apps and Games] ironia.:
I have test this v.0.5.02...

cable event (set to on) is not working correctly, when unplug ac the timers wasn't reset
[Android Apps and Games] hawkerpaul:
My automatic resets dont work properly neither.

Every now and then it seems to work, but more often than not I have to do a manual reset.

My threshold is set to 0%

Suggestion:

In the settings you have to Tick to Disable cable+connection events.

This seems to me a little illogical. ie. you are ticking something to turn something off.

Wouldnt it be more natural to have it to Tick to Enable?
[Android Apps and Games] realgpp:
I'm adding a few features to create a logfile which I can use to find and fix your problem. I've an idea about what the problem could be.

ATTENTION PLEASE

btw I've created the new thread for my cpu spy Here

I'll use it from now on

See you all there :)
[Android Apps and Games] whitexp:
please see..

(jpg)

how to add support for cpu spy in my kernel ?
[Android Apps and Games] JimboVV:
CPUSpy is not compatible with the HTC Sensation. Im using just the Original ROM and no Custum Rom. CPUSpy shows: "No state files found".
[Android Apps and Games] rfurdzik:
CPUSpy.com - sell cheap for you

Hey guys, let me know if you want CPUSpy.com as some guy from Ireleand wants to buy from me, so I thought I offer you first. I can sell you cheap, so do not worry. You can contact me at rfurdzik at gmaiil.com

Best
[Android Apps and Games] blackfire74:
It is not working on my Galaxy Y stock Kernel
[Android Apps and Games] hasan4791:
can nyone help me y im not getting into the deep sleep mode...!!
[Android Apps and Games] Karpfenhai:
Wrong thread, search for better battery stats and post your issue there.

Tapatalked from my Galaxy SII
[Android Apps and Games] Dhada:
Im using this but i dont understand? how could i know if my phone was performing sleepmode? :confused: Sorry for a noob question.
[Android Apps and Games] bobbyphoenix:
Open the app, and scroll down. You will see a line called "Deep Sleep" at the bottom of all the CPU stats. If you don't see it, it will be in the "Unused CPU states", and if you don't see it there are two main reasons. Your phone is not sleeping because an app is keeping it awake (You can use other apps to find what one.), or you restarted your phone with it plugged in, and it's either still on the charger, or you unplugged it, but didn't turn off the screen yet.

You will only see the Deep Sleep line if your phone is unplugged, and the screen has been off for a bit.
[Android Apps and Games] forameya@gmail.com:
a girl op fnct

I'm very new to this forum and to this app. I've just downloaded it based on recommendation from one of the xda developers as my new Samsung note 2 is giving immense battery issues.

Now. .I could hardly understand how this app can help me in diagnosing my battery issues?

Can someone please explain how to use this app.

Thanks
[Android Apps and Games] Karpfenhai:
You're in the wrong thread, you are looking for better battery stats (bbs).

Regards

Tapatalked from my Galaxy SII
[Android Apps and Games] TheDj408:
Update?

[MENTION=602322]storm717[/MENTION] are you planning to update this app anytime soon?
[Android Apps and Games] J3:16:
One thing would be very useful, a widget to be displayed in the lockscreen showing the current state of the cpu, to ensure it's in deep sleep without having to unlock and open the app. Obviously taking care not creating wakelocks ;P
[Android Apps and Games] ex-28:
ok , normally I charge my battery at night so it's fully charged the next day but as a test last night I charged up to 100 % opened cpu spy reset values and went to bed .

woke up and these are my results.

so im guessing deep sleep is working on my phone but something is draining battery .

wifi - on

location - on

gps - off

now what app can I use to see what was draining by battery overnight ?

I am not rooted and fully stock.
[Android Apps and Games] larryk:
I realize that this is a very old thread...

I have always used CPU Spy to track the states of the cpu and the amount of deep sleep on my cell. I currently have a Samsung S8+ on Oreo and CPU Spy no longer updates itself as far as the time in each state (if I hit refresh, it does), if I remember correctly it did work correctly on Nougat. Does anyone else still use this, and does it work correctly for you, or can anyone recommend a newer app that is similar and works correctly...
[Android Apps and Games] lm089:
Also been using this for many years on various phones, rooted or non-root. Mainly used it to show info regarding deep sleep times. Always liked it as it is as simple and small as I want it to be.

Now with my new oneplus 6 it started to get useless. Have to update manually more often than I had to before, which does not bother me really. What's worse is that it only shows part of the cpu info (only frequencies of the lower end kernels, not the high end ones. I can tell from the max freq numbers). So I can't really rely on it any more.

Tried "cpu spy reloaded" from play store the other day, but that's not really helpful either.

Still looking for some alternative, might end up with better battery stats although I fear that this is just overloaded
[Android Apps and Games] Naxil:
hello not work on oppo a5 2020 3gb
[Android Apps and Games] deepongi:
welcome to 2022 xD
[Android Apps and Games] KayvinM:
Great Job, thank you. Works well with Onix 2.0.3 and Firefly 2.7
[Android Apps and Games] rajendra82:
Try checking into the units of the recorded value when the phone has not been rebooted for many hours, by resetting the timer in CPU Spy and let the phone run for say 10 minutes. If the assumed units by CPU spy assumption is correct, the sum of all the states should now add up to the elapsed time, if it is recording it in 1/33rd of a second, the sum of all the states will only add to 3 minutes. I know it records it in 1/100th of a second early, but when I had run stability test for a long time, I swear could not make the sum of the states add up, unless the recording units had changed to 1/66th of a second. And this morning assuming 1/33rd of a second continued to give up the total up time even after I posted. I think when in sleep, the CPU still runs at 100 MHz.
[Android Apps and Games] storm717:
deep sleep = CPU and screen off

Weird about the timings, let me know if you still notice issues now that theres a row for time spent in deep sleep.

version 0.2.1 is now live in the market
[Android Apps and Games] crusecontrl:
Great app...Thanks!
[Android Apps and Games] rajendra82:
So far, the calculations suggest the application is right. Thanks for setting my misconceptions straight.
[Android Apps and Games] Barbarian:
Awesome app. Nuff said.
[Android Apps and Games] Sqb:
Thank you for this app. Great for diagnostics and for tweaking settings. You developers are just amazing!

Sent from a rock on fire in the middle of the sea
[Android Apps and Games] well.heeled.man:
Fantastic app! I would add yet another 5 stars if the market would let me on MIUI without crashing. Incidentally, works great on MIUI with Platypus OC/UV kernel (Cyanogenmod 7 kernel).
[Android Apps and Games] IDoMy0wnRacing:
Very nice app, very nice.

Running on Continuum v4 w/Onix 2.0.3, 1000Hz.
[Android Apps and Games] Pad22:
HTC Hero - Elelinux-7.0.0-RC1-Hero-v1.1.1

Hi.

Cool app... works great on my HTC Hero :D with Elelinux-7.0.0-RC1-Hero-v1.1.1 (which is a CM7 based rom).

Nice work!!
[Android Apps and Games] m7ia:
Looks great! Giving it a try.

Someone above mentioned using the powersave governor... I've never had luck changing the governor on my Captivate. What app do you use? Thannks
[Android Apps and Games] Skidiver:
Voltage Control

Can someone post an example of a good working set up for voltage control? I have tried it...but I still don't understand it...
[Android Apps and Games] Krazy_P@:
Luvin this app, steller job sir u just earned 5 stars...
[Android Apps and Games] goodolsen:
People can post what works for them, but there is no guarantee it would work for you. Each phone is different.

What I have found by using this app is it allows you to see which states your phone spends the most time in and you can play with the UV settings for the states your phone is in most.

By doing this you can try and improve battery life. My phone seems to spend 75% or more in 100 and Deep Sleep.
[Android Apps and Games] Liv33viL:
Voltage Examples

As I stated below, there is no real one fix cures all, but you could use some examples as a reference to at least put you in the same arena for testing purposes.

See this post for examples of the process in a step by step. Perhaps not all the information posted will not pertain to your situation, but piece through the information to gather what you need.

There is much more information on this topic that you can search for on your own.

HtH

Peace-

Correct. Each configuration for each device will vary. There may be similar settings between multiple devices of the same type, but best to use what worked for one as a reference or guideline for another. Not necessarily a control just a reference.

There is also the matter of user preference. One may prefer battery life over performance and choose a more passive OC/UV setting to preserve battery life, while another may use the device strictly for, let say, gaming and prefer a more aggressive processor and voltage setting. The voltage setting basing off what exactly the processor and device needs sustain stability under various conditions.

On the top end, under a load, a processor will require, in most cases, more voltage to sustain the higher activity (ie: 1200Mhz, 1300Mhz, 1400Mhz, etc...) rate while maintaining stability and the same "may" be so for the lower register of the processor (ie: 100Mhz, 200Mhz) , but may not need all that much to sustain a passive mode such as sleep or background activities while not actively using the device (without entering into "sleep death").

I hope this has shed some insight to your questions...

HtH

Peace-
[Android Apps and Games] goodolsen:
As a reference point, this is what I'm using. My kernel is SuckerPunch #58, which allows OC'ing to 1400. I have mine set to 1200 max though.

My state UV's are:

1200: -75

1000: -75

800: -75

400: -75

200: -75

100: -75

I'm not using the 1120 or 600 states. I don't do a lot of heavy gaming or anything on my phone and these work just fine for me. I get decent battery life and no lock ups.

Different kernels will give you different options. Some will allow up to 1600 (Onix 2.0.3) while others might not allow any OC.
[Android Apps and Games] goodolsen:
I've noticed that when I add up the percentages for my states it only comes out to 95-96%. Any idea where the other 4-5% is hiding?
[Android Apps and Games] storm717:
probably rounding + some poorly coded integer arithmetic or something ;) I'll look into it next version bump
[Android Apps and Games] markmunsch:
Been using this app since I saw it on the forum and I'm liking it alot. Its nice to see what my phone cpu is doing, app says my phone's either at 100,1200 mhz or deep sleep. Makes sense to me as I use it constantly or the screen is off. Thanks for the awesome app.

Sent from Continuum 4.0 using XDA App
[Android Apps and Games] IDoMy0wnRacing:
Works very well with the SuckerPunch-Voodoo #12 Kernel also.

These are my settings with this Kernel:

Sio Scheduler, U/V, no O/C, and Voodoo Lag fix ext4

1000: -50

800: -75

400: -100

200: -125

100: -75

With no issues.
[Android Apps and Games] diablo009:
I am dilligaf's 7.0, and Onix 2.x.

Max clock set at 1000

1000: -50

900: -75

800: -100

600: -100

400: -100

200: -125

100: -150

Work very stable for me.
[Android Apps and Games] Enhanced:
Great app! Was looking for something just like this.

EDIT: Already, from this app, I've learned a couple of things such as just having the screen on and doing nothing but staring at it uses the top clock speed available.

A suggestion though would be the option to move from the timer values since boot back to the resetted values. That way, people can record their actions between an interval while also being able to flip to values since boot without clearing their current interval.
[Android Apps and Games] james.arroyo:
Love the app. comes in really useful when starting up with new/updated kernel
[Android Apps and Games] bman151:
This really helps with overclocking and undervolting. Thanks!!!!!!
[Android Apps and Games] storm717:
I can do something like this if I can figure a good way to label the commands:

show times since boot (currently 'restore timers')

show times since offset

set offset times (currently 'reset timers')
[Android Apps and Games] xreflection:
Works great. Thanks for this. Its annoying to have to go to the cpu freq file everytime i want to find out this info.

Phone is in sig.
[Android Apps and Games] timmymarsh:
Moved at OP's request to Android D&H/Apps & Games
[Android Apps and Games] storm717:
Anybody with a device other than an Inspire or Galaxy S tried this out? I'm curious if there are any Android phones that don't have the sysfs endpoints implemented the same.
[Android Apps and Games] Gunthermic:
using this on my Thunderbolt.

Hey OP how about High freq to low instead of Low to High?

Awesome app.... Interestign to find out all the freq that any one Kernel has that arent being used.
[Android Apps and Games] storm717:
They come out in the order the sysfs entry lists them-- that's interesting that yours go from low to high because in the galaxy S phones its high -> low.

I'll have it sort next update
[Android Apps and Games] storm717:
Updated to 0.2.2 -- states should be sorted highest to lowest freq even on phones who spit out state info lowest first.

Thanks for all the positive comments and 5 star reviews on the market!!
[Android Apps and Games] sacredsoul:
I get "No States file found" error. On a Dell Streak with Streakdroid 1.90.
[Android Apps and Games] storm717:
thanks for the info.. if you know how to use adb shell or root explorer, etc, PM me and I can have you poke around the sysfs for a potential alternative filesystem point I can read
[Android Apps and Games] sacredsoul:
PMed ya :) Cheers.
[Android Apps and Games] Gunthermic:
So let me get this right. Upon loading it will show all freq, used or not. I have to hit Rest Timers to and then refresh for it to show only the freq my phone has used.

Can we get a settign to default to this. It already list all the freq unused at bottem.

Thank you for the sort!!!
[Android Apps and Games] aragarm:
This is incredibly useful, thanks!
[Android Apps and Games] storm717:
Initial load will show all states that have been used since boot, while states with 0 time used are listed below the first part.

If you are seeing a state listed in the first section with "00:00:00" it means it just has spent less than 0.5 seconds in that state
[Android Apps and Games] captainchris:
So, this looks very useful to use with setcpu, unfortunately i am a noob and dont understand setpcu and undervolting. I guess what i am saying is i do not know what to do with this information to improve battery life.
[Android Apps and Games] geevee11:
Works great on my Milestone with CM7.

Thank you!
[Android Apps and Games] kc_hubbard:
I just stumbled on this today. Sweet app. Thanks button pushed. Five stars given in the app store too.

I passed the word along about this app on a couple of the EVO threads I frequent (with all credit going to you).
[Android Apps and Games] aweaver33:
great app but Google bug renders it useless

Great app. Unfortunately, many of us with over/under clockable kernels won't be able to use it due to having to disable access to time_in_state to work around a bug in ProcessStats.java that pegs our processor and drains our battery. See android issue # 9733 for details. Ugly link due to my XDA newness: https : // code.google.com/p/android/issues/detail?id=9733
[Android Apps and Games] Dirk:
Great idea and great app. Thanks!
[Android Apps and Games] Robi959:
Very good app.. android is the best.
[Android Apps and Games] storm717:
v0.3.0 now on the market

The app will now attempt to read the file as root if it can't read it as a normal user... it seems the ROMs that have this problem block reading by chmod-ing time_in_state to 400, so this should fix that.

If there are still problems with reading the file, try setting the permissions as follows (only needed for those affected by the problem described by aweaver33):

adb shell
su
chmod 400 /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
[Android Apps and Games] Juduth:
Very interesting App

Perfect on DesireHD

Nice work ;)
[Android Apps and Games] GlossGhost:
Awesome app :)

Tested with success on XPERIA X10i (Stock Kernel Linux 2.6.29, no OC no UV)

ROM: TripNMiUI 0.0.6 Gingerbread 2.3.3 ;)
[Android Apps and Games] ekie84:
It freeze on my phone when open...rooted 2.2.1,overclock but no custom rom
[Android Apps and Games] Dirk:
So, from what i can see on my Nexus One, Android does a great job of putting itself into low-power states when it's not being utilised but will jump to maximum speed for almost everything when the screen is on. Everything in between is just a fleeting transition as the power ramps up.

Does that reflect what most people are seeing?
[Android Apps and Games] GlossGhost:
I see this, I don't have use of 500MHz, 700MHz....

Maximum (998MHz here.. with screen on)

Minimum (250MHz again with a deep sleep)
[Android Apps and Games] SalsaForte:
Works fine on my N1 with CM7.0.2.1

Cool! Should be integrated to SetCPU! ;)
[Android Apps and Games] Paul22000:
Works great on CM 7.0.2 on my Nook Color! :cool:
[Android Apps and Games] brentil:
App FCs at startup on my LG Optimus G2x. My phone is stock without root. I sent a crash report via the phone. I can supply any other info if needed via adb.
[Android Apps and Games] bobbyphoenix:
Subscribing to thread. Will give it a try. Thanks.
[Android Apps and Games] bobbyphoenix:
Gave it a try on my Defy. 2.2.1 rooted and overclocked. It is only showing default values of 300, 600, 800. I'm using SetVesel with values of 300, 700, 1300 along with the notification bar icon. Playing Words with Friends and other games the icon is almost always hitting 1300, but when I check with this app after playing for a while I see only deep sleep and 300 being used. 600 and 800 are at like 5 seconds. Thoughts on why it won't show my values and only the defualts, and why if anything even with default values, it doesn't show the 800 being use a lot when I know the CPU is maxing out playing games much more than staying at 300? I hope this makes sense.
[Android Apps and Games] axpira:
Perfect on my Xperia X10 Mini Pro
[Android Apps and Games] skwareman:
Good app! Works great on hd2 with Mdeejay FroYo_Revolution v. 1.6 S3.1 / MDJ_S4_OC1228_UV925_SG_HAVS_SMARTASS kernel...

Thnx
[Android Apps and Games] Akeem83:
Another Defy; same problem.
[Android Apps and Games] monkadelicd:
Freezes on Backflip with j_r0dd's Preclair 1.6 w/OC kernel

I just get a black screen with CPU Spy in the upper left corner of the screen when I start it up. I can't get a menu and the back button doesn't work. I can use the home button to get out. I'm at work without a usb cable but I can check to see if the file is in the same location when I get home. j_r0dd's Preclair is based on Moto's official 2.1 rom as far as I know so I would think it's stock location, but maybe the Backflip is just a pain in all aspects.
[Android Apps and Games] Dirk:
* (in crysis nanosuit voice) - Maximum Speed!

I don't see the Messaging app, for example, needing full-on CPU power to run well. Just think how much battery life could be conserved if apps only drew the power they needed! Ho-hum.
[Android Apps and Games] storm717:
the freezing on start / black screen on start issue is due to the recent change that tries to accomidate ROMs with blocked read-access of the states file, I'll have a fix out soon for you guys
[Android Apps and Games] alex_herrero:
Works great on an Atrix 4G. At least it shows logic information!
[Android Apps and Games] gpz1100:
To the OP, can you explain how the deep sleep time is determined?

Thanks!
[Android Apps and Games] gpz1100:
Here's a suggestion for a future version. Permit a threshold setting. For example, all cpu times < x are ignored and omitted from the graph. Over the course of a battery charge, if the cpu spends 10 or 20 seconds at a particular speed, then time spent there is really negligible in the scheme of the entire time period.

Also, perhaps permit the option to reorder the graph based on percentage (greatest-least), rather than cpu speed.
[Android Apps and Games] brentil:
Rooted my LG G2x so now instead of the FC on startup I get the black screen instead.
[Android Apps and Games] ILCAMPIONE:
Is there any way to know the usage fo CPU in deep sleep state?

Thk for your work!
[Android Apps and Games] wallla:
Doesn't work on stock Motorola Milestone (Android 2.2.1).

The app just shows a black screen.

No logcat output at all.

Would be nice if there's any advice.
[Android Apps and Games] storm717:
Thanks to all of yall giving me detailed information about the various bugs in the app, I will be getting to them hopefully this coming weekend
[Android Apps and Games] ILCAMPIONE:
Any idea for this?
[Android Apps and Games] spiicytuna:
Working great on htc evo, htc evo shift, nexus s, and b&n nook. Thanks for your hard work!
[Android Apps and Games] Chahk:
Excellent app!

The percentages are a bit funny on my Nook Color though :)
[Android Apps and Games] shivurocks:
It shows a date and time at the end...what does that indicate? ?
[Android Apps and Games] bobbyphoenix:
That is when the kernel version was compiled for release.
[Android Apps and Games] khankuan:
Hi, the cpu freq showed is different from the ones in quickclock..