yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Themes and Apps] miloytyn:
I think it is much more useful that the stats are reset when you unplug the charger as I'm not that interested what the states were when you are charging. Besides when you are charging deep sleep does not happen, so the deep sleep percentage is not correct with the first method, which I think is very important statistic.

Additionally, would it be possible to add current CPU frequency which would be automatically updated? CPU Spy Plus shows that and it is very useful as sometimes my Galaxy S4 gets stuck so that the minimum frequency it uses is 918 MHz instead of 384 MHz and that is easy way to notice it and reboot the phone. While asking for improvements, in CPU Spy Plus you can also group states under certain percentage to reduce the number of bars in display.
[Nexus 5 Themes and Apps] suku_patel_22:
Agree with you. It should be reset on unplug.
[Nexus 5 Themes and Apps] existz:
With method 1 or 2 it would reset it back to the original timers since boot. Both methods would behave the same as 1) charge it all the way and hit Reset Timers in overflow menu, no matter if charger is plugged in or not..or 2) charge it all the way, but don't hit reset until you unplug. That would do basically the same thing, except it will be automatic, resetting on its own.

But I believe the most logical, and accurate method would be #2. Which I'll continue to work on getting it to behave exactly as battery stats (once its fully charged it pauses reading time in state until you unplug, as opposed to it still reading until unplugged in method #2). Both methods are limited with the way the original apps code is (remember, the original app was wrote for Froyo), I'll have to either rewrite some of it, or write totally new stuff to get it to behave correctly.

Random Fact of the Day:

Look at the original apps screenshots on Google Play, look at the kernel version.
[Nexus 5 Themes and Apps] existz:
I'm looking into having a few other features, I don't want to stray to far away from the original app. Basically just bring this app up to date (rather it be just getting the code updated, or updated features..ie pull to refresh..) But, let me mess around with having it show the current frequency, if I can add it without disturbing the feel and layout of the original app, I will. I don't want to have the main screen cluttered up, but that may open up the possibility of a sliding menu with different pages (ie CPU Info)

Although, I've been working on having the time in state and total state time automatically update, so you would be able to see which frequency was being used in real time. I've already got a working method for this, its just I'm having some trouble making it an actual option in settings (I've also got a Settings menu made up).. But this will probably be in a future release.
[Nexus 5 Themes and Apps] miloytyn:
I actually agree that grouping probably is not that useful in this app as the UI can easily show all the information. But it would be great if you could fit that current frequency somewhere :)
[Nexus 5 Themes and Apps] prabhu_91:
i agree with you...thnx for your effort to revive this awesome app
[Nexus 5 Themes and Apps] existz:
I'm going to work on a few more things and then I'll be posting another Beta for you guys to test (need tested on Lollipop and KitKat).. I need to make sure the new method for resetting time in state once charged works, although I've been testing it on my N5 with no problems, but sh*t happens. So the final v2 will be delayed until this Beta comes back good.

Also, need some help on a new icon. So if anyone can help, I'd appreciate it. Just need something simple, clean and Material (think Google Play Newsstand icon)
[Nexus 5 Themes and Apps] existz:
Deleted...
[Nexus 5 Themes and Apps] Isley_:
I like it ?
[Nexus 5 Themes and Apps] gianton:
Yes it's nice.
[Nexus 5 Themes and Apps] slackerzz:
hi [MENTION=1333660]existz[/MENTION],

i've forked you repo, imported in android studio and added a SwipeRefreshLayout

You can find the repo at https://github.com/slackerzz/cpuspy
[Nexus 5 Themes and Apps] existz:
Hey, nice :) .. I've got a beta build up already with swipe to refresh and a few other things, I just haven't pushed sources yet.. I should have a new beta up soon with a few more new features as well.

http://xdaforums.com/showthread.php?p=57119002
[Nexus 5 Themes and Apps] slackerzz:
ahahah, sorry I didn't read all the thread.

nevermind, yesterday night i was bored and coded bit
[Nexus 5 Themes and Apps] existz:
The more people contributing, the better. I'm glad to see someone else working on this. Feel free to send me pull request for any fixes or new ideas you have.

I currently have to build via ssh/command line + just a text editor, so that's why I use ant. But where you have added android studio support, some things may be easier, also it might catch more bugs, so feel free ^^
[Nexus 5 Themes and Apps] existz:
What's your guys thoughts on this...

https://plus.google.com/111678887963556771807/posts/VrausQAJN6r

And this...

https://plus.google.com/111678887963556771807/posts/WcU8hZK51tQ
[Nexus 5 Themes and Apps] Isley_:
I like colored navigation bar ?
[Nexus 5 Themes and Apps] Penacal:
A vote for no on navigation bar, and as you said, for regular users like me, pull-down to refresh would be enough. Nonetheless a great looking app[emoji6]
[Nexus 5 Themes and Apps] kingofnice:
Definitely go with the colored nav bar, black looks bland compared to color.
[Nexus 5 Themes and Apps] suku_patel_22:
Colored nav bar
[Nexus 5 Themes and Apps] slider112:
Colored please, looks great!
[Nexus 5 Themes and Apps] existz:
Need another opinion from you guys.. This is just something I threw together, I seen Google Calendar do this and kind of liked it. But I know it doesn't go with Material guidelines, so I'm iffy if I should use it or not.
[Nexus 5 Themes and Apps] Isley_:
Yes, keep material desing, is beautiful
[Nexus 5 Themes and Apps] existz:
Finally! Now auto refresh will stick through exiting app/reboots.. I still need to clean up some stuff and then I'll post a new beta
[Nexus 5 Themes and Apps] Isley_:
Great!
[Nexus 5 Themes and Apps] existz:
v2.0-BETA3

- Added Pull to Refresh

- Colored navigation bar on Lollipop

- Added AppCompat for KitKat support

- Add support for non touch screens

- Added Auto Refresh in Settings menu

- New Material style icon courtesy of [MENTION=4670303]kingofnice[/MENTION]

- Switched to newer Toolbar instead of Action bar

- Timers now automatically reset when battery full AND charger is unplugged.

NOTE:

You can restore the original timers since boot via Menu->Restore Timers. This is a work in progress and the logic may change in a future release. If you have any problems please let me know, and feedback is welcomed!

https://www.dropbox.com/s/f4u7toql7ounntc/CPUSpy-Material-v2.0-BETA3.apk?dl=0
[Nexus 5 Themes and Apps] Isley_:
Thanks, downloading now ?
[Nexus 5 Themes and Apps] kingofnice:
Ahhh it feels like my birthday!
[Nexus 5 Themes and Apps] miloytyn:
Doesn't work on my Kitkat devices, Galaxy S4 & Galaxy Tab S.
[Nexus 5 Themes and Apps] Unjustified Dev:
Force closes? Same here on two kk devices.
[Nexus 5 Themes and Apps] miloytyn:
Yes, immediately when you try to start it.
[Nexus 5 Themes and Apps] existz:
[MENTION=4911249]Unjustified Dev[/MENTION] [MENTION=4284358]miloytyn[/MENTION]

Can you guys give me a logcat of the Force Close? I think I know what the problem is as the last beta worked fine on kitkat, then I'll get a new BETA up.
[Nexus 5 Themes and Apps] existz:
2.0-BETA4 (since BETA3)

- Fix issue causing crashes on KitKat ?

- Added About and Licenses section to Settings

Download:

https://www.dropbox.com/s/yqfacag59xej41c/CPUSpy-Material-v2.0-BETA4.apk?dl=0

According to Appthwack this version installs and runs correctly on Android 4.4 and 5.0

Can you guys try this on KitKat and let me know if it fixes it? And also if everything looks correct ? (ie .. Action bar, Settings, About dialog..etc)
[Nexus 5 Themes and Apps] Isley_:
Amazing ?
[Nexus 5 Themes and Apps] Unjustified Dev:
[MENTION=1333660]existz[/MENTION]

Runs nice on the Mad Catz M.O.J.O. ;) thanks for the update. This is the TV based device I am using.
[Nexus 5 Themes and Apps] miloytyn:
Everything seems to be working now.
[Nexus 5 Themes and Apps] existz:
I'll have one more beta up before making v2.0 final (as long as there no issues with this latest beta 4, please post feedback).

This next one will include a few under the hood bug fixes and cleanups, also reverted using Toolbar and switched back to normal Action bar (this was needed to fix some issues and compatibility issues for KitKat). I had originally wanted to use Toolbar because it allowed for some more/new features I planned on adding later, but I had to revert it. Also added snackbar library by William Mora (toast like notifications like in the new Gmail) when restoring/resetting timers. Plus some more stuff. I should have it up in a day or two.

But let me know how b4 is running that way I can fix whatever is needed before I post b5.
[Nexus 5 Themes and Apps] :
Thank a lot, works fine on my Galaxy S2, CM 11 - KK 4.4.4!

Just a detail, can you make compatible the app icon with hdpi device?

Icon appears very small everywhere on my device, screenshots attached.
[Nexus 5 Themes and Apps] existz:
Yea, will do.. I'll fix it in the next beta/release.
[Nexus 5 Themes and Apps] :
[MENTION=1333660]existz[/MENTION],

I would like translate this app in French via a pull request on your Github but it seems missing some strings so can you sync your Github asap please?

And have you planned to release this nice app on Play Store or F-droid (store for free & Open Source apps)? It would be great! :fingers-crossed:
[Nexus 5 Themes and Apps] existz:
Hey, I've been working on a few new things, I'm redoing the About and License sections so a bunch of strings have changed/are going to change. Once I'm finished I'll push all the new stuff to github.
[Nexus 5 Themes and Apps] existz:
Sorry for the delay (again), been busy with the holidays and also been setting up my new laptop, getting everything migrated to Android Studio (the new libraries I use have been giving me trouble). Once I'm back up and running I'll get v2.0 final posted, and hopefully get it on the play store.
[Nexus 5 Themes and Apps] existz:
UPDATE!

v2.0

- Added Pull to Refresh library

- Fixed a few more lint warnings

- New About and License menus

- Added support for KitKat and TVs

- New Material style launcher icon

- Use colored nav bar on Lollipop

- Optimized/removed unused PNGs

- Add Gmail-like Snackbar library

- Timers now reset when battery full

- Add Auto Refresh option to settings

- New WhatsNew dialog for new releases
[Nexus 5 Themes and Apps] simono_pl:
Is possible to add first decimal place?
[Nexus 5 Themes and Apps] Isley_:
Thanks for the update ?
[Nexus 5 Themes and Apps] creeve4:
Thank you for making the app compatible with 4.4.

One request: an option to hide the deep sleep state.
[Nexus 5 Themes and Apps] AndrasLOHF:
App looks fantastic. More apps should color the nav bar.
[Nexus 5 Themes and Apps] suku_patel_22:
True, the blue colored nav bar looks awesome.
[Nexus 5 Themes and Apps] existz:
I'm not sure I understand.. Can you give more details or an example?

I'll see what I can do. There's a few new things I want to add, so I'll see how that goes with it.
[Nexus 5 Themes and Apps] existz:
Do you the think the Unused CPU States and Kernel Info text looks better the way it is or centered like in this screenshot? I've also slightly rounded the corners on the header bars (I may adjust this more)
[Nexus 5 Themes and Apps] :
Yes center texts for the Unused CPU States and Kernel Info is a good idea!

Can you change color font for the settings tab, give a black color as on main screen instead a grey color?

Edit: No in fact center texts is not a good idea...
[Nexus 5 Themes and Apps] existz:
Can you post a screenshot, I'm not sure I know exactly where your talking about. If your talking about the gray summary text color, that's the actual system default secondary color, its not something I've defined (and the summary text color should be different than the primary text color)
[Nexus 5 Themes and Apps] :
Yes that's it, I don't like the grey color for font.

And what about add a dark Material theme? It would be nice :D
[Nexus 5 Themes and Apps] existz:
Only the summary text should be gray, the rest should be black like in this screen. Let me look into it for KitKat.
[Nexus 5 Themes and Apps] :
Ah yes it's really nice on Lollipop!! :good:
[Nexus 5 Themes and Apps] sendan:
The text alignment looks better the way it currently is.
[Nexus 5 Themes and Apps] existz:
I've fixed the text color issue, Settings should now look like it does on Lollipop. It will be fixed in the next release.

As for a dark theme, I'll look into it. I've never added themes to an app before so I'll have to see how its done. If I can figure it out then I will.
[Nexus 5 Themes and Apps] simono_pl:
To show 73,9% instead 73%
[Nexus 5 Themes and Apps] :
Thanks, not hurry take your time!

If accepted please implement this as an option because for me it's an useless feature....It would be nice to keep this app close to original app without lot of option, this is just my opinion.
[Nexus 5 Themes and Apps] Yaminashi:
Thanks for this. I was questioning the battery life I was getting on lollipop and sometimes my battery seems to drain faster for no real reason.

This will tell me what I need to know.
[Nexus 5 Themes and Apps] :
[MENTION=1333660]existz[/MENTION],

You should remove dismiss button from the snackbars because there is already an option for reset/restore timers in the menu and the button doesn't work here.

Thanks.
[Nexus 5 Themes and Apps] suku_patel_22:
Do you plan to release to the play store?
[Nexus 5 Themes and Apps] existz:
The Dismiss button just dismisses the snack bar, it works..The snack bars only purpose is to notify that timers were reset/restored when selected from the overflow menu.. like a toast message. I'm not sure I understand your comment.

Yes, once Im able to get a developer account
[Nexus 5 Themes and Apps] :
Oh yes you're right sorry!
[Nexus 5 Themes and Apps] :
it is possible to implement the monitoring of cores?
[Nexus 5 Themes and Apps] existz:
I think that would be pretty useful. Since the original app was made back in the froyo days, it was mainly single core cpus back then. Let me look into it design wise, but I think thats a good idea.
[Nexus 5 Themes and Apps] suku_patel_22:
Also a dark theme would be awesome
[Nexus 5 Themes and Apps] existz:
Looking into it and a color picker to change primary and accent colors.
[Nexus 5 Themes and Apps] slider112:
Those would be great additions to an already fantastic app :good:
[Nexus 5 Themes and Apps] existz:
Thank you :) ..it will probably take me a little bit to get everything up and running for themes/color picker. Here recently I've been working on getting the stats to reset/work like battery stats does once fully charged. As of now it only resets once charged AND charger is unplugged. But now ive got it where once its fully charged it will show a splash screen type deal (just like gmail does when you have an empty folder.. etc) saying to unplug charger to start timers..so it will pause reading timers once charged and then resume when unplugged (its basically the same as the current state except the splash screen and it not showing timers while fully charged. Which the original timers since boot can always be restored via overflow menu. Ill probably make automatic timer reset an option in settings.

Once I iron out the bugs for the timer reset when charged, I'll probably work on adding CPU core monitoring (showing which cores are online and/or offline.) Then I'll get to themes/color picker.

This is basically the first app I've overhauled like this (besides my VLC Remote with Material design, it was basically just a redesign, not adding new features.. Etc)..so I'm kinda learning as I go. I'll post some new betas soon.

EDIT

Here's an example of the splash screen once fully charged...the wording will change, this is just an early example...it will read "Unplug charger to reset timers" in the release version.. Anyone have any thoughts, recommendations..etc on this, or if I should use a whole different approach?
[Nexus 5 Themes and Apps] suku_patel_22:
Ability to rest the timers using a shortcut or tasker plug-in would be great.
[Nexus 5 Themes and Apps] existz:
I like that idea, I think it could be useful, especially for developers. I should just be able to make it an app widget, having it so you can click an icon on your home screen and it resets, would that be OK?

EDIT:

I've updated the 2nd post of this thread with a TODO list.. This will be updated with future features and settings as I go along.
[Nexus 5 Themes and Apps] suku_patel_22:
Just make it a app shortcut instead.
[Nexus 5 Themes and Apps] existz:
I dont know if I can do it as a shortcut. I believe a shortcut is just a shortcut to launch a specific activity in an app (this app only has one activity, the main activity). Im not sure if I can, or if its even practical to just make the refresh option its own activity (if this is how its done?). Let me look into it and see what I can do, but a widget may be our only option unless I rewrite some stuff. Granted that I dont know much about making shortcuts in an app, so if someone is familiar with this and can show me how, ill gladly add it.
[Nexus 5 Themes and Apps] suku_patel_22:
I said shortcut, because it can be started from tasker or similar apps. May be a tasker plugin would be feasible?
[Nexus 5 Themes and Apps] existz:
Let me look into creating a shortcut some more, I may just add a new ShortcutActivity to do this. After some digging around it looks like it won't be much to do it, so I'll go this route if I can. As far as an actual Tasker plugin, I have absolutely no clue on doing that, creating the shortcut will probably be easier.
[Nexus 5 Themes and Apps] existz:
A little progress update..

I'm still working on getting a dark theme added..I've got quite a bit of it figured out, but Im still working on so you don't have to restart the app for changes to take effect (right now you would have to restart the app after enabling dark theme).

But I do have a new beta I'm gonna post soon for you to test out. There's ton of under the hood fixes, I've added a new Welcome screen on first launch of the app (this will be updated over a few different betas), also updated the About and License menus. I've also made Auto Reset an option in Settings (whether or not timers reset when battery is full). Plus tons of other small updates and fixes, I'll post a change log once I post the beta. But for now here's some new screenshots.

If anyone wants to make a new banner image for the Welcome and About sections, please post them (the app icon is just a place holder for now..)
[Nexus 5 Themes and Apps] Isley_:
Looks awesome!
[Nexus 5 Themes and Apps] existz:
Thanks ;). I'm also in the process of updating the main screen to be a little more "material".. I've never been happy with the blue header bars, total state time..etc. I'm thinking about putting the time in state in a card, and then do something different with the bottom half.. I just don't know what yet. So if anyone has any ideas on how to make it better, please share. I can't think of a layout that looks good and material-ish. One of the reasons I want to change it is in preparation for adding core monitoring, having it show which cores are online/offline and its current frequency.
[Nexus 5 Themes and Apps] existz:
Also, one more thing.. In the next release you may see a new permission for network access. This will be for automatic usage and crash reporting (ie OS Version, which app version..etc) This will help me provide a better app experience, plus I'll get reports and logs of any crashes automatically. I'll of course make this an option to disable in Settings.

Only thing I'm worried about is users seeing the new permission and freaking out. Which all of the code is open sourced on Github (link is already in the OP).. So you can see exactly what's put into this app and that its nothing malicious..and that it is what I say it is.

What's your guys opinion on this?
[Nexus 5 Themes and Apps] Vihru:
You are the best! That automatic reset when battery full is that i want. I can use that for battery uptime.. If i want know how much my phone uptime is 100 > 0? Am i right?

Hope you soon upload beta :p
[Nexus 5 Themes and Apps] AA1973:
[MENTION=1333660]existz[/MENTION]

Looks great and I do enjoy using it. Concerning the Crash Reporting and its permissions. What about if you mention those changes in the "Welcome" screen below the features and explain the permissions for what they are needed. So, the user is made aware of it and can opt in or opt out depending on what is the default settings in your app. (Opt out if i understood your post correctly.)

Personally, I am not concerned about it ?
[Nexus 5 Themes and Apps] existz:
I'll be adding it to Welcome screen and also What's New dialog, so hopefully people understand what its for. In my 6yrs of ROM/kernel/app developing I've learned that most people don't bother to read (not all, but most lol), so that was one reason why I wanted to get it out in the open here, and then it will be mentioned in the app.

I've got a new beta almost ready to test, I'm still working on updating the main screen, hopefully so its more "material". As well as working on layouts for large screens (ie TVs), I noticed that some stuff was not aligned on the Nexus Player and its set me back some. But I'm hoping to have it done soon.
[Nexus 5 Themes and Apps] Vihru:
If i want know how much my phone uptime is 100 > 0? Can i use this cpu spy for this? If that reset state time when battery full etc.. If i only wanna know uptime for last charge to 0%?
[Nexus 5 Themes and Apps] existz:
With the next release you will be able to enable/disable Auto Reset timers and total state time..what it does is..

When enabled:

It will show the timers and the uptime from 100% down (until you charge back to 100%). It resets every time the device is fully charged.

When disabled:

It will just show the timers and total uptime from when the device was restarted, regardless if the device is charged or not.

With the current version (2.0), its enabled by default and not an option to disable, but with the next release you will be able to enable/disable it. Its a little confusing, I hope I explained it good enough lol.
[Nexus 5 Themes and Apps] parkson:
Got this error today even tho this was working fine yesterday. Reboot fixes it - just don't know what the cause is. Cataclysm + EX kernel
[Nexus 5 Themes and Apps] existz:
This should be fixed in the next release. It was related to the way I updated the views when checking if the battery was full so the timers reset automatically. It would sometimes get a little bit ahead of itself and thought the timers didn't exist.. but ive since cleaned up the code and I haven't seen this pop over the last couple weeks.
[Nexus 5 Themes and Apps] existz:
I'm still working on some images for the new Welcome screen, About section and a few other things, then I'll be posting a new Beta. I've said this for a few weeks now lol, but it's really almost ready this time. Until then here's a list of a few changes in the next release.
[Nexus 5 Themes and Apps] existz:
What's your guys (gals?) thoughts on this new layout for the timers/percentage?..I *borrowed* the idea from STools. I'm still not finished, I'll be making the main screen more material-ish over the next few betas. Yay or Nay?
[Nexus 5 Themes and Apps] suku_patel_22:
Lot of wasted space. But looks good.
[Nexus 5 Themes and Apps] existz:
I may end up putting the timers/percentage..etc in a card, so that will push everything in a little and eliminate some empty space. I'm also gonna try a bigger font size. I just can't figure out how I want to do the bottom section, I really haven't liked the blue bars from day 1. The hard part has been getting it all to flow together and look good.

But this is just step 1 lol, I plan on redoing the whole main screen to make it more material.