yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Themes and Apps] existz:
I've received a few different bug reports over the last few builds, and I'm guessing these are mostly related to Auto Refresh. I've attempted a few fixes over the last couple builds, but recently got one for BETA8, so apparently its still not fixed. The crashes range from getting the total state time, the states themselves and also when resetting the timers. So I've added what I hope is a safeguard in the case it happens again, adding a retry loop (up to 5 times). So instead of crashing, it will retry getting the total state time, resetting timers..etc. So if you have experienced a crash when opening the app, or resetting timers (my guess is mainly when Auto Refresh is enabled), please update to BETA9 once I release it in the next couple days. I wanted to post this ahead of time just so everyone knows what to look for in the next release.

The specific crash is a ConcurrentModificationException, so if you see it in logcat, this is what I'm talking about. It will only happen under specific circumstances, it doesn't happen every time.. For example when it refreshes and the battery level changes, triggering the broadcast receiver to check which views to show (if the battery is full it will show the charged layout..etc), if this happens at the same time it will crash, hence the retry loop.

There's also some other random bug fixes, the new sliding tabs layout (core monitoring will now be under the Info tab). I still have to work out some kinks with the core monitoring notification, so it won't be in this upcoming release.
[Nexus 5 Themes and Apps] existz:
Guys, if you're going to use my source, either private or public, please change or remove the crashlytics id. I keep getting bug reports for someone else's version. This is messing up the analytics for mine (showing more crashes than there really is), and other things. So please remove crashlytics altogether or create your own id. This is a major annoyance.
[Nexus 5 Themes and Apps] existz:
Deleted..
[Nexus 5 Themes and Apps] existz:
UPDATE

v3.1.0

- More variables can be final

- Switch to new sliding tab layout

- Fix Auto Refresh causing crash

- Add reusable method for reading files

- Move core monitoring to CPU Info card

- Show unused states when resetting timers

- Use simple listview for open source licenses

- Enable monitoring only if fragment is visible

- Update material-dialogs library to v0.7.6.0

- New Auto theme based on the time of day

- Disable swipe to refresh if auto is enabled

- Add null pointer check when removing all views

Download: Attached on first page
[Nexus 5 Themes and Apps] mak725:
Great Work! :)

Enviado desde mi A0001 mediante Tapatalk
[Nexus 5 Themes and Apps] gianton:
Great update! Thanks for your hard work!!
[Nexus 5 Themes and Apps] savvy1968:
Looks cool thanks for all your work.
[Nexus 5 Themes and Apps] :
New sliding tab layout is perfect! :good:

Just the text overlapped issue is back but it's a minor issue anyway.
[Nexus 5 Themes and Apps] savvy1968:
Good job on the update nice one mate.
[Nexus 5 Themes and Apps] Isley_:
Excellent update!
[Nexus 5 Themes and Apps] existz:
Damn, lol. I'll get this fixed in next release, not exactly sure how that happened again. Maybe where I moved core monitoring to that card, and messed something up, but consider it fixed.

Also, the latest source will be updated shortly

EDIT:

Found what was causing the text to overlap again, and will be fixed for v3.1.1 release
[Nexus 5 Themes and Apps] :
[MENTION=1333660]existz[/MENTION], you're fast thanks!
[Nexus 5 Themes and Apps] existz:
Can you do me one favor, and check to see if everything is aligned correctly under the Open Source Licenses page. Mostly just that the header "Libraries" is aligned correctly with the listview items. According to the emulator, its off on KitKat devices, but is correct on Lollipop. If its off then I can just make a layout for KitKat and one for Lollipop. Theres screenshots on the first page that show what it should look like
[Nexus 5 Themes and Apps] :
Sure. It's not aligned correctly indeed, see screenshot.
[Nexus 5 Themes and Apps] existz:
Thanks man. I'll get this fixed in next release also. If you notice anything else, please let me know. I can't figure out why some padding is off on KitKat, and others aren't, when they use the exact same margins.
[Nexus 5 Themes and Apps] savvy1968:
Exactly the same on mine kitkat cm11 not aligned right.
[Nexus 5 Themes and Apps] existz:
As usual, right after releasing I've fixed quite a few bugs (CPU arch overlapping text, alignment issues for KitKat devices..etc), and I've also added core monitoring support up to 8 cores (this will need tested by those with 8 cores, I'm unable to test), along with some code improvements. So expect the v3.1.1 release sooner than later. As long as no other bugs pop up, I should have a hotfix release posted tomorrow addressing these issues.
[Nexus 5 Themes and Apps] existz:
UPDATE

v3.1.1

- Handle NFE instead of ignoring it

- Fix lint warning by using apply()

- Add support for monitoring 6-8 CPU cores

- Fix some padding issues on KitKat devices

- PrefsActivity: Add missing switch break

- Random code clean up and improvements

DOWNLOAD: Attached on first page

I was unable to test 6-8 core monitoring, so those with devices if you could make sure everything works and all the text is aligned correctly, id appreciate it. Also, those on KitKat, please let me know if the License text is aligned properly, and that there isn't any text overlapping in the Info tab (mainly hdpi-xhdpi).

[MENTION=5178843]Micks29[/MENTION] let me know if this fixes those issues in v3.1.0. Also sources have been updated for those that want to translate.
[Nexus 5 Themes and Apps] :
Yep fixed thanks. Translation will be updated asap!
[Nexus 5 Themes and Apps] existz:
Attention One Plus Users

I keep getting bug reports from what I'm assuming is the same user with a One Plus device, most of their statistics is the same so I'm assuming. But I'm not sure if this is an actual user, or someone using my code and didn't remove my api key for crashlytics (like I've been asking people to do for months). The problem is, is its always some random, off the wall bug that others don't have issues with, and the report says it only affects 1 user. This has been happening for the last 5-6 releases. So to be safe, if anyone with a One Plus could let me know if everything works OK, or if it crashes when sliding to the Info tab.

This last report looked like it was crashing due to temp monitoring. But I have a couple fail safes in place (1, it checks to see if the temp file exists, if so then it continues to 2, if it exists it checks to make sure its not null). So I don't see how it could crash because if the file doesn't exist, then it simply doesn't show or do anything. But if it does exist and the file reads null it will just show "Unavailable". But there is a chance there's some wild ass scenario I missed, so if a One Plus user could verify for me I'd appreciate it.

EDIT:

I've just realized that this could also be from someone running my app (or their versiom) on a One Plus emulator, such as Genymotion. So what I've done is make checking for the CPU temp and checking for CPU0 (cpu0 should never be null, unless it's on an emulator) even more fail proof. With the next release if the file exists but it is unable to read it or is null, it will show up as " Error" in red, instead of crashing. This will help those running my app, or their own version, allowing it to run on an emulator. Plus it will give me more of an idea of what is exactly wrong for those running on a real device.

But still, if you have a One+ let me know if v3.1.1 runs OK or not.
[Nexus 5 Themes and Apps] DominiCOne:
Strange things happen to me since beta 8, when I try to update the version always show # beta 6# even when unistalling :(
[Nexus 5 Themes and Apps] gianton:
v3.1.1 working great on my OPO, no issues at all.
[Nexus 5 Themes and Apps] mak725:
+1 ;)

Enviado desde mi A0001 mediante Tapatalk
[Nexus 5 Themes and Apps] billy662:
Thanks for a useful app:)
[Nexus 5 Themes and Apps] existz:
Thanks OPO users for the feedback!

I've already squashed a few bugs, along with preventing some future/potential bugs, for the next release. I'm going to wait on releasing until I get some more stuff done, plus I don't want 3 releases in one week. I'm afraid it would end up with a bunch of users on different builds.

I still need users with 6/8 cores to let me know if everything is working correctly with core monitoring (I know there's a few of you out there since its been requested a few times). I need to know if the monitoring itself is working, along with making sure all the text is aligned correctly under the Info tab.
[Nexus 5 Themes and Apps] savvy1968:
Ive just noticed that its picking my GT-i8190N up as a GT-i8190 doesnt make any difference to me but i thought id let you know.
[Nexus 5 Themes and Apps] gianton:
Just got my Galaxy S6 today and v3.1.1 is working fine.
[Nexus 5 Themes and Apps] existz:
Awesome! Glad it's working. Let me know if there's any problems. Im going to use one of your screenshots in the OP, hope thats ok.
[Nexus 5 Themes and Apps] existz:
[MENTION=5952468]savvy1968[/MENTION]

It actually reads the value from your build.prop file under /system. But ill see if theres any other way to get a more accurate result.
[Nexus 5 Themes and Apps] savvy1968:
If thats the case is there a way i can get into the build.prop file and change the setting myself?

Also would my Phone number be read from there when im in my about page on the phone?
[Nexus 5 Themes and Apps] existz:
If you have root you can use a file manager/text editor to change it (plus there's some apps that allows you to change build.prop settings). But be careful, most of that is set what it is for a reason. Changing names..etc can have weird effects (such as play store reading as wrong device.. Etc). As far as phone number, no, its not stored in build.prop, its most likely reading it from the sim card.
[Nexus 5 Themes and Apps] existz:
What's your guys thoughts on this..

https://plus.google.com/+RobBeane/posts/AJZvPWhHpgQ
[Nexus 5 Themes and Apps] infatality:
Just a suggestion.. Possible to bring the core usage back to the front?
[Nexus 5 Themes and Apps] existz:
Not at the moment. Having it in a toolbar like it was looks awful under the sliding tabs, that's why I moved it. Plus now it supports up to 6/8 cores, and it would be too much to cram in a small space. So for now it will remain under the Info tab. Although I am working on an option for an ongoing notification that will show core usage. Then all you will have to do is pull the notification panel down to see the frequencies. But I've still got a lot left to do. That seemed about the only way to make up for moving it.
[Nexus 5 Themes and Apps] savvy1968:
Thanks for the reply bud i think ill leave it alone so as not to muck anything up in there.
[Nexus 5 Themes and Apps] existz:
I'm not sure what would be causing this. Although I have noticed that the version number does not show up under Settings/Apps, so its possible this is related. I've fixed this for next release, so hopefully it fixes your problem as well. Other than uninstalling, re-downloading and reinstalling, I have no idea why that's happening. Very strange issue.
[Nexus 5 Themes and Apps] existz:
Any suggestions for hiding states below percentage? As of right now ive limited it to 10% max (defaults 0). Does anyone have a reason, or use, as to why it should be higher?
[Nexus 5 Themes and Apps] simono_pl:
0-10% is good option

Sent from my Z3 Compact
[Nexus 5 Themes and Apps] savvy1968:
Great job.

[MENTION=3202638]ex[/MENTION]istz i think youve got it spot on mate and it loooks great too.

Nice work there.
[Nexus 5 Themes and Apps] gianton:
Looks good.
[Nexus 5 Themes and Apps] existz:
There's only one issue with using this seekbar library: when you click on the number to enter it via keyboard, you have to tap it twice for the number keypad to pop up (it shows normal qwerty keyboard first). I've looked at the source for the seekbar and I'm trying to fix it. So hopefully it's not an issue when the next update is released. I'm also looking for an alternative, but I really like the option to use the slider or via number pad. Plus its easy to see what percentage is selected.

So I need to clean up some things and fix a few more bugs before its released. Hopefully it won't take me long.

Also, as of right now you will only be able to hide whole percentages. Once everything is fixed I'll work on having the ability to use a decimal (ie instead of just 1%, you could hide below 1.7%..etc)

EDIT:

The keyboard issue is now fixed :)
[Nexus 5 Themes and Apps] existz:
UPDATE!

v3.1.2

- assert mActionBar != null

- Move app version to build.gradle

- Update Snackbar library to v2.10.10

- Add function to show/hide unused states

- Clean up SharedPreferences in CpuSpyApp

- MainActivity: Add missing [MENTION=439709]override[/MENTION] to onResume()

- Add option to hide states below certain percentage

- CpuSpyApp: Use SparseArray instead of HashMap

- CpuStateMonitor: Fix logging and handle exception

- Stop monitoring temperature if getTemp() returns null

- Remove usesless call to CPUUtils.getKernelVersion()

Download: Posted on first page

Sources will be updated within 24hrs or so.
[Nexus 5 Themes and Apps] existz:
I've noticed over the last 3-4 builds that on average only 35% of users actually use the latest release. I know part of that is my fault by not being able to post on Google Play with update notifications (shameless plug: First $25 of donations will go towards a developer account so I can upload there). But if you're running an old release, please update. It's the only way I'll know if everything is working correctly (the more users the more likely bugs will be reported, especially under different circumstances). Plus it allows for more updated feedback on the direction of the app. But if you read this, please update to the latest (currently v3.1.2)
[Nexus 5 Themes and Apps] savvy1968:
Im one of those people your on about but if i get something that works right first time i dont like to update it incase something goes wrong.

But like you said..how will you know if its working right on all different setups if people dont update it so i will update today and leave feedback.

Thanks for all the work youve put into this great app that i use everyday.
[Nexus 5 Themes and Apps] existz:
Boom! Progress has been made with deep sleep notification.

https://plus.google.com/+RobBeane/posts/XKWYr2kuGhR

EDIT:

Also if you're using Xposed, please read this..

https://plus.google.com/+RobBeane/posts/iMkRSenDugd
[Nexus 5 Themes and Apps] existz:
Getting close to a private beta with the new Deep Sleep detection feature. I will need someone on KitKat to test for me (make sure no crashes, that notification looks ok..etc). Once I get a couple things fixed I'll let you guys know and will take testers.

Quite a few new features/bugs have been fixed since I last posted about it, if you're interested here's updated info. I'm excited about this one..

https://plus.google.com/+RobBeane/posts/MjhB9hbfnGT
[Nexus 5 Themes and Apps] savvy1968:
i can beat test it for u if needed im using cm11 kitkat 4.4.4
[Nexus 5 Themes and Apps] existz:
UPDATE

v3.1.3

- More variables can be final

- Add checking runtime to Device Info

- Update Butter Knife library to v7.0.1

- Update Android Support Library to v22.2.1

- Make hasTemp() return false if file length is 0

- Update to latest gradle and android build tools

- Add service to check if device is entering deep sleep

- Catch ActivityNotFoundException if unable to open intent

Download: Posted on first page

NOTE:

Deep Sleep Detection is a background service that will automatically start on boot/reboot, that monitors if the device is entering deep sleep. If it determines that it is not entering deep sleep, it will post a notification alerting you. Deep Sleep Detection is only checked when the conditions below are met..

- The screen is off

- Music is not playing

- Not in a phone call

- Device is not charging

This is the initial release, so there may be bugs. Please enable automatic crash reporting so I receive any reports. Of course Ive added the option to disable Sleep Detection if you want.
[Nexus 5 Themes and Apps] Isley_:
Awesome! Downloading now
[Nexus 5 Themes and Apps] existz:
I keep getting different crash reports from the same user on a Galaxy Note 3. FYI the issue looks like its something to do with Xposed not liking core monitoring for some reason, unfortunately theres not much I can do about this.

EDIT:

Although there's really nothing I can do to actually fix this, I've added an extra Exception check that will just show ERROR instead of crashing the app in the next update. So if you experience this, you will need to send me a logcat log to be able to dig deeper.
[Nexus 5 Themes and Apps] savvy1968:
[MENTION=1333660]existz[/MENTION]

Can i install this?

i mean have you got enough info from the beta for me to install this new version. ?
[Nexus 5 Themes and Apps] existz:
Yea. This new update has a few things cleaned up that wasn't in the test I sent you (also some other things fixed). So please go ahead and update. This should be a lot more stable than the test version.
[Nexus 5 Themes and Apps] SurajH:
Freaking awesome update..

As soon as device not sleeping app alarm up for me and then I get know about NO deepsleep.

Best app till date.

Thanks for awesome update
[Nexus 5 Themes and Apps] existz:
According to the emulator, it looks like on KitKat devices that the title for hiding states below % is off centered in Settings. This is a problem with the 3rd party library used, but I'll use a local copy of the lib and fix it in the next release.
[Nexus 5 Themes and Apps] savvy1968:
I found no problems at all and during test i was setting alarms to go off at different times night/day and it worked exactly as it should have..brilliant app.

Sent from Earth.
[Nexus 5 Themes and Apps] existz:
I've received a few bug reports that indicates if you Pull to Refresh and then exit the app before it finishes, when you start the app again it will crash. I think I've got this fixed for the next release. Until then, don't exit the app in the middle of refreshing.

EDIT:

Looks like someone just done what I said not to do lol. Reports of this crash jumped up after posting this.
[Nexus 5 Themes and Apps] existz:
UPDATE

v3.1.4

- Remove unnecessary return functions

- Remove useless call to ButterKnife.bind

- Add Exception catch for CPU core monitoring

- Add null pointer check to fix issues #69 and #70

- Dont refresh onShake if mSwipeLayout.isRefreshing

- Add local SeekBarPreference to fix KitKat margin issues

DOWNLOAD: Posted on first page

NOTE: This is a hotfix update to fix a crash when exiting the app before pull to refresh is complete, along with some other bug fixes. Please update to this release as soon as possible.

Also, those on KitKat can you please verify that the title, seekbar..etc.. for hiding states below percentage is aligned correctly. The only thing I had to go by was an emulator, and sometimes they are not correct.
[Nexus 5 Themes and Apps] existz:
Since I don't have a developer account for Google Play yet I've always hated not being able to let users know there's an update. But in the next version it will now include the ability to notify you when an update is available (just click the notification and it will take you to this thread). I'll also make it an option in Settings so you can disable it. This is just temporary until I'm able to get a developer account, but it serves its purpose.

Also, I'm still receiving some crash reports that I haven't been able to figure out over the last few releases. I'm not sure what's causing them since I'm unable to duplicate it (plus the crash report doesn't say much), but I think I can fix it where the app won't crash. It doesn't solve the problem, but it will at least let you use the app if it's unable to find the kernel version, build ID, api level, or device manufactor.. Etc..etc. Instead of crashing it will just hide those entries that it cannot find. I've already done this for some things, such as core/temp monitoring. But it looks like certain ROMs..etc are having problems reading certain information. I don't know if some ROM devs are removing/changing some of these or what.
[Nexus 5 Themes and Apps] savvy1968:
[MENTION=408838]Rob B[/MENTION]eane as you know im on kitkat and yes everything is aligned correctly as it should be.

This morning for the first time since using this app i got a msg about not going into deep sleep but i cant figure out why as i havent installed anything new.

and if i go into the app it says 85% deep sleep so i dont understand it.

And its still picking my phone up as a GT-i8190 but its a GT-i8190N.

Thanks
[Nexus 5 Themes and Apps] existz:
The device model is basically read from the build.prop, so its reads whatever the manufactor or ROM developer has set it as (if you're using a custom ROM). There's not much I can really do about that part. As for it not entering deep sleep, that could be caused by a number of things. As of right now it ignores checking deep sleep when ...

* music is playing

* device is charging

* in a phone call

* screen is on

So there's a few instances that I'm unable to account for, for example if you have the screen off and its downloading a file or something. If its doing that right when it checks deep sleep, it will notify you its not entering correctly. There's just some things code wise that I'm not able to account for. Another possibility is if you turned the screen off and right back on, then turned it off again exactly at the moment it checks, it could show the notification then (since deep sleep didn't change in between checks, where you turned the screen right back on).. Etc..etc. So its not 100% foolproof. But there's also the possibility that something is actually keeping it from entering deep sleep. I would recommend clearing the notification and then let it set with the screen off for a few, then check back in the app and see if it's entering deep sleep. If the deep sleep time doesn't go up, then there's some app or process that's preventing it from sleeping. Reboot, and then test it again to see if it's entering properly. Sometimes apps like Google Play Services will get hung up and prevent it from sleeping.
[Nexus 5 Themes and Apps] savvy1968:
OK I've been trying to figure out what is doing it and I THINK it could be lucky patcher im not too sure I'm still testing it out on my phone and trying to recreate it on my tablet to be positive that I'm right but I think I am.

Once I've done I'll let you know exactly what I've done so you can sort it out bud.
[Nexus 5 Themes and Apps] existz:
If you have root you can download Wakelock Detector and it will tell you exactly which app/process..etc is keeping the device awake. If it's an app keeping it awake (not something that purposely keeps the device awake, such as downloading/internet activity, playing music..etc), then the notification will have done its job. It's meant to alert you when an app/process keeps the device from entering deep sleep. I've accounted for most tasks that does this on purpose, except checking if it's downloading. Other than that there's not much else that can be done to deep sleep detection. In your case it seems to be doing what I intended it to do (letting you know something is keeping it from sleeping).
[Nexus 5 Themes and Apps] existz:
Sorry things have been quite lately, been working on a few things. Heres a small status update..

https://plus.google.com/+RobBeane/posts/882DmFELpbW