Found a solution for my tablet slow down - Shield Tablet Q&A, Help & Troubleshooting

I don't know if this has been mentioned before in this forum.
Like a lot of people with the Shield Tablet, mine was getting very laggy and slow. It was at it's worse when it had been sitting idle for a while (and when not on a charger). I press the on button and it would take 2-3 minutes to become responsive. Since the "doze" function in Marshmallow sucks, I suspected that the slow down was a result of the tablet not executing the "doze" function correctly.
So I rooted the table and with the adb command of "adb shell dumpsys deviceidle disable" was able to disable doze.
Ta-da! No more issues with an unresponsive tablet since doing this. Of course, I'll have to execute this command after each reboot, but I don't care. It's a huge improvement.

Why not just uninstall doze?

Greenify may be the better option.

Used to have the same problem... laggines all over the place. After uninstalling Facebook and the messenger, it feels like a whole new tablet.
Sent from my SHIELD Tablet using Tapatalk

Related

[Q] Battery life horrendous

Hi all
I've tried 2 Surface RT's now, and both have horrendous battery problems. I've tried refreshing them, resetting them, installing all updates, turning off Bluetooth and many of the live tiles, but still the battery lasts at most 24 hours. There's nothing much installed, just a few apps (ebay, Flixster, a book reader), I have two email accounts (Hotmail and an exchange account), and that's about the lot. All updates have been performed, but still, on two separate units, the battery life is so bad that I'm thinking I can't use this as my daily tablet.
I've done the powercfg -energy test, and I get 2 errors - one is that the Nvidia Wave Device driver is preventing the system from sleeping, and the other being for high utilisation (between 18%-30%). If I turn the volume off, the Nvidia driver warning disappears, but the battery life is still poor and I don't know why the volume would need to be off when not in use. I can't find any other apps that rely on this driver (it's a speaker driver as far as I can tell), so I'm well and truly stumped.
Does anyone have any ideas on how to fix this Nvidia driver problem?
Thanks
Do you use any music apps or web pages on the tablet? If music is playing, or even paused, the app may prevent sleep. However, generally speaking, such apps should be suspended when idle for any meaningful period of time.
Even with some third-party Win32 programs running in the background on my Surface RT ("jailbroken" and then installing things like MirandaIM, which don't get suspended automatically) the tablet lasts at least three days if fully charged when I put it to sleep (I don't usually try to push the battery life, so I'm not sure what the max is) and without background network-connected processes it lasts for over a week.
Hi
Thanks for taking the time to reply. No music apps are or have been running. Since wiping it all and starting from scratch just last Thursday I've only used it for emails, web browsing and reading books on a book reader. Just can't understand why I've had such bad battery results with two separate units!
My guess would be along the lines of what GoodDayToDie said, some app you use is probably holding a wakelock on the device.
Can you list out the non-MS apps you're using to see if we might be able to find out if it is one or not?
Morning
The only apps I've installed from the store are ebay, Flixster, Book Bazaar Reader and Facebook.
Maybe I'll try to uninstall these, running the powercfg -energy report after every uninstallation. I'll report back!
tjjpowles said:
Morning
The only apps I've installed from the store are ebay, Flixster, Book Bazaar Reader and Facebook.
Maybe I'll try to uninstall these, running the powercfg -energy report after every uninstallation. I'll report back!
Click to expand...
Click to collapse
Right, all apps listed above removed, ran the powercfg -energy report and still getting the Nvidia driver error, and processor utilisation at over 20%. No apps were running in background, and same results even when volume was off.
Am completely at a loss now!
Have you run Windows Update? Normally it's not even optional (you can disable it if you use the registry, but that's the only way) but the only thing that comes to mind is that your tablet may be missing some required driver update or something... that's very odd though; I haven't heard of any such problem from anybody else.
Given that the nominal runtime of Surface RT when not in sleep mode is 8-12 hours, you're definitely not going to have a good experience if sleep mode isn't working. Technically you *can* shut down the tablet between uses - it boots up very quickly, at least - but that's a pain compared to sleep mode.
GoodDayToDie said:
Have you run Windows Update? Normally it's not even optional (you can disable it if you use the registry, but that's the only way) but the only thing that comes to mind is that your tablet may be missing some required driver update or something... that's very odd though; I haven't heard of any such problem from anybody else.
Given that the nominal runtime of Surface RT when not in sleep mode is 8-12 hours, you're definitely not going to have a good experience if sleep mode isn't working. Technically you *can* shut down the tablet between uses - it boots up very quickly, at least - but that's a pain compared to sleep mode.
Click to expand...
Click to collapse
Hi
Yes, I have run all updates, including the firmware update dated early April. I have looked for updates in both the normal 'tablet' mode and also by going into the update section of the desktop. So everything is uptodate, all of my apps from the app store have been uninstalled, but still the Nvidia driver error reports that it won't enter sleep mode and processor utilisation remains high.
As stated in my first post, I currently have two of these tablets to play with, and I have exactly the same issue on both, so I think we can rule out hardware problems, leaving some sort of software glitch. I did see this Nvidia problem on another forum, but the guy who posted it later reported that it simply went away, so that doesn't ger me anywhere.
It seems like a great piece of kit, but it'll be going if I can't resolve the battery issue.
Hi
Although I don't have any battery drainage I have to confirm that I have the same 2 errors despite the fact that I have all the updates. Can anyone else confirm if they have these errors?
That's odd. If you have the same errors but not the same battery drainage, I wonder what is causing my battery drainage and how I could check this out?
It does definitely seem to be linked to my driver error. The same problem has returned - the Nvidia driver error reporting its preventing sleep mode when the volume is on. When volume is off, that error disappears and battery life seems a little better.
Have played around with it some more, but same issue still present on both of the Surface RT's I have - battery drain unbearable. I have to ensure volume is off whenever closing the lid/pressing power button to put it into sleep mode just to try and see sleep mode actually kicking in.
If I had installed lots of third party apps I could understand some battery loss, but given they have both had full wipes, all updates installed and haven't got any apps installed other than pre-loaded ones, I just don't understand how I have the same issue on both machines. Only other thing to try would be removing my email accounts, but then there would be no point at all in keeping it!
Does anyone have any suggestions at all? If not, I think it will be time to see them going.
My only thought is incredibly bad luck and both devices have the same hardware fault.
My surface sips battery. Have never had any issues with battery
cx1 said:
My surface sips battery. Have never had any issues with battery
Click to expand...
Click to collapse
That must be nice, both of mine use so much juice they render themselves useless!
I can't think it's a hardware issue on both, especially as the huge loss of power seems linked to when the volume is on 2 or above and sleep mode is for some reason prevented.
Anyway it seems there may be no solution to whatever software glitch I have, and all of this has very much made me look at the Surface with a huge amount of disgust, so I think I'll go back to my Galaxy Note which just doesn't have such ridiculous issues as these units.
Well no-one else seems to be experiencing these issues so whatever is wrong is something with your devices. I would contact the vendor.
SixSixSevenSeven said:
Well no-one else seems to be experiencing these issues so whatever is wrong is something with your devices. I would contact the vendor.
Click to expand...
Click to collapse
The same hardware fault on two devices when the error report is linked to Nvidia wave device driver error preventing the units from going into sleep mode? Doesn't seem all that likely to me. I still think it's a software error, as this was reported also by somebody on a different forum, but with no clear resolution.
Thanks anyway.
Apart from the error, good practice for saving battery life can also be setting the screen brightness to low. In your Nvidia settings do you have the option to enable and disable power saving?
tjjpowles said:
The same hardware fault on two devices when the error report is linked to Nvidia wave device driver error preventing the units from going into sleep mode? Doesn't seem all that likely to me. I still think it's a software error, as this was reported also by somebody on a different forum, but with no clear resolution.
Thanks anyway.
Click to expand...
Click to collapse
One could argue that the software error is environmental, as it only seems to be a minority experiencing this issue. There could be a hardware fault though, don't discount just because it is two devices, you could have been incredibly unlucky and received two devices that just happen to have the exact same fault.
Well I've done some more playing about with the device, and it seems my battery drain issue seems linked with my work email account. If I am just running my normal Hotmail account, battery drain seems fine. When I add my work Exchange email/diary account, the battery drains like nothing on earth. Not sure if this has anything to do with the fact that to even get this work email account working, I had to get our IT chap to send me the security certificate for me to install.
Not sure if anyone might be able to suggest a way of having push emails still running on my work email account without the battery draining hugely?

[Nexus 5] Optimizing apps at boot when device ran out of battery

Hi everyone,
I have a Google Nexus 5, that has never been rooted.
Nearly each time my phone is running out of battery (meaning nearly every day because I am using Waze, a GPS app, quite often), when Android is starting a message saying "Optimizing 1 of x.. apps" and this take a lot of time (sometimes more than 10 minutes).
Do you know what is causing this issue and how to solve it?
It happens since I upgraded to a previous version of Android but I don't remember which one as is it not the latest one.
Now, my phone is running Android 5.1.1 build LMY48M.
Thanks a lot.
Can't solve your problem, but I will add some information and a test suggestion:
I have a Nexus 7 (2013) Tablet which was recently updated to Lollipop 5.1.1.
Not surprisingly, right after the update, the tablet went through the exact same app optimization process (no surprise there).
Although the tablet was charged and in 'Sleep Mode' last night, I woke up this morning to find the tablet powered off (which I considered strange).
Upon powering it back on, it went through the same app optimization process that you have described.
I considered the possibility that a software update had been applied to the tablet last night which did not require my permission (but that seems unlikely).
Then I wondered if the battery had somehow become depleted and that the app optimization process was a function of the power loss and subsequent restart.
In the Windows environment, an 'ungraceful' shutdown leads to a boot option to start the computer in 'Safe Mode'.
And I had considered the possibility that one or more Android processes or 3rd party apps might have triggered the requirement for app optimization upon restart.
This is what led me to your post.
However, I have now let the battery drain two times, with two subsequent restarts -- and I am not getting the app optimization.
So, I'm not sure what the trigger is -- but I have a suggestion for a test:
Restart your device so it is fresh
Do not start any applications or Android processes (other than those that start themselves)
Leave the device on so that the battery fully drains (you might want to accelerate the process by maximizing the screen brightness)
After the device shuts down due to battery loss -- charge it
Restart the device and see if app optimization happens
If it does not happen -- them maybe your app optimization is related to an ungraceful shutdown of one or more Android processes or 3rd party apps
If it does happen -- then I don't know what's going on
However, we can't ignore the fact that your device is a phone and mine is a tablet
And, therefore, your device always has processes running that might represent an ungraceful shutdown upon battery depletion.
Of course, this does not answer the question relating to the problem I witnessed this morning
But maybe I had too many apps open and too many browser tabs open when my battery depleted (although I still don't know why my battery depleted)
And maybe that triggered my own app optimization
There is one more thing: yesterday, for the first time, I ran an app on the tablet called Slingbox Player
That's the only thing different that I have done on the tablet for many months
And the Slingbox Player was open in the background when I went to sleep
I suppose a badly coded app could have drained my battery
But that still leave the question regarding the app optimization requirement upon restart
Please share your findings.

Explanation of Nougat Battery Consumption and Workarounds for Better Battery Life

Hello guys. This topic is pretty long and it is hard to read all of it but try to read all of it till end.
Well, let me begin. The main problem of the nougat update is the dramatic increase of battery consumption (for me at least) But why this is happening?
Actually this is a matter of battery managers. Huawei had created a great phone but obviously they messed things up in the software side. Google announced "Doze" feature with Marshmallow. If we could have a brief explanation of "what doze is" is it is basically a battery protection policy created by google. In Android, apps have the ability to use what’s called a “wakelock” to prevent your phone from going into a power-saving deep sleep mode. This deep sleep mode usually kicks in when your phone’s screen is off, but that can get in the way of how some apps work. For example, if you’re using a fitness tracker, you don’t want your phone turning off GPS or your accelerometer just because your phone is in your pocket with the screen turned off.
In principle, this is a good concept. Apps keep your phone awake and working when they need to, and let it sleep when they don’t. This is a problem, though, when every developer thinks their app is important enough to keep your phone on all the time. That’s why apps like Facebook kill your battery, even when you’re not using them.
Doze helps solve this problem by periodically blocking wakelocks and shutting off network access if your phone goes unused for a while. It will then periodically allow apps to check in during “maintenance windows” every so often (these windows occur less frequently the longer you don’t use your device). Here is a graphical explanation of how doze works versus time:
http://itresan.com/wp-content/uploads/2016/05/doze-header.jpg
Doze helps solve this problem by periodically blocking wakelocks and shutting off network access if your phone goes unused for a while. It will then periodically allow apps to check in during “maintenance windows” every so often (these windows occur less frequently the longer you don’t use your device)
If we turn back to the main topic, as I mentioned before, Huawei has some difficulties combining it's own features with google's. Huawei has its own battery manager. That's why you are not receiving some notifications from facebook or whatsapp. That is because that freaking battery manager shuts everything off but still, since it has a very poor approach, the system drains battery. It is basically a matter of doze does not kicking in. As you can see, the battery usage when the screen is turned on is about the same. However, the same thing cannot be seem when the screen is off.
So what to do in order to save some juice?
-There is some workarounds for doze kicking in like these ones:
https://play.google.com/store/apps/details?id=com.yirgalab.dzzz
https://play.google.com/store/apps/details?id=com.suyashsrijan.forcedoze
These two apps have different approaches. I prefer ForceDoze as it seems the google's intended way.
I want to highlight this item because this might be the most important thing in this topic. If you don’t do anything with your phone, Doze will still do its job. It runs almost invisibly in the background. Occasionally you’ll get a few messages at once, rather than spread over a few minutes, but for the most part there’s no noticeable change. In other words this is a bit different from the conventional full deep sleep and you do not have to afraid from doze as you do with the full deep sleep.
-DO NOT CLEAN YOUR RAM TOO OFTEN. This will cause closed apps re-open and hence, more cpu usage.
-No! Cleaners, Task managers and other stuff does not work! As I mention before, they even lead more battery consumptions.
-Huawei has poor google service implementations. Even one or two implementation has some bugs that causing battery drain(for example: google backup). Try to turn them off.
-Know when to reboot your phone. Too frequent reboots may do the same thing as you cleaning your ram. However, rebooting cleans app caches so the system will work smoother. Once a week or two weeks is fine I suppose.
Please hit the "Thanks" button if you like and please point out the missing things and if you see a mistake please warn me for correcting it. I hope you liked the topic.
Have a nice day!
Doze is problem for me. I don't have push notification by the night.
darrr1 said:
Doze is problem for me. I don't have push notification by the night.
Click to expand...
Click to collapse
It's probably not because of the doze but the huawei's power manager itself.
Problem starts when phone is not active longer than 2-3 hours. In root I removed phone manager and it did not help fix the push notification problem
darrr1 said:
Problem starts when phone is not active longer than 2-3 hours. In root I removed phone manager and it did not help fix the push notification problem
Click to expand...
Click to collapse
Assuming that you are on huawei release (not los releases), untick your app from close apps after screen lock. Then go to apps, settings, special access, and make the system ignore battery optimizations for the spesific app you want to get notification from.
I did everything what I can without succes.
furkey said:
Assuming that you are on huawei release (not los releases), untick your app from close apps after screen lock. Then go to apps, settings, special access, and make the system ignore battery optimizations for the spesific app you want to get notification from.
Click to expand...
Click to collapse
first thanks for this tip. i hate it that i dont receive whatsapp messenges all the time, i hope it will work now.
BTP:
I assume huawei did not remove "doze" from our firmware, but maybe they replaced it with theire own battery manager?
Is there a complete source for doze, so we can check if everything is there? If yes it should not be that hard to activate doze and deactivate the huawei one.
But i guess we need at least the kernel sources to clear things up?
xtcislove said:
first thanks for this tip. i hate it that i dont receive whatsapp messenges all the time, i hope it will work now.
BTP:
I assume huawei did not remove "doze" from our firmware, but maybe they replaced it with theire own battery manager?
Is there a complete source for doze, so we can check if everything is there? If yes it should not be that hard to activate doze and deactivate the huawei one.
But i guess we need at least the kernel sources to clear things up?
Click to expand...
Click to collapse
Doze is not on kernel level but it is on software level. Programmatically we can activate what is left from doze or at least simulate it. However, if there is a certain need for doze we should cook a whole new rom and yes, it requires open source too.
But, let's clear a thing here: Huawei did not completely removed doze. Actually, I think they can't do that if they wish to use Android. Just some settings of Huawei conflicts with doze and prevent its functioning.
I'm using the honor 9 with emui 5.1 (android 7.0) and screebl (app used to control how and when screen locks/times out) is constantly getting killed. I have added it to ignore(=allow to run) in battery optimization and it's activated as a device administrator. It is not selected to close (power intensive app prompt) or instructed to close when screen goes off. Yet it repeatedly is getting killed - is there something else I need to do? I can't seem to find anything else I can do to stop it from being killed and it's a major nuisance.
antimatter.web said:
I'm using the honor 9 with emui 5.1 (android 7.0) and screebl (app used to control how and when screen locks/times out) is constantly getting killed. I have added it to ignore(=allow to run) in battery optimization and it's activated as a device administrator. It is not selected to close (power intensive app prompt) or instructed to close when screen goes off. Yet it repeatedly is getting killed - is there something else I need to do? I can't seem to find anything else I can do to stop it from being killed and it's a major nuisance.
Click to expand...
Click to collapse
Could you finally solve this?
I also have and Honor 9, and have the same problem with aplicacition radardroid. Is getting killed, and also have all configured to prevent this...
Try by having both in the Settings
-Battery/Close apps after lock screen (uncheck in the list)
-Apps/Settings gear/Special access/Ignore battery optimization (make it allowed)
Thank szgfg,
Both are already well configured, but still closing the app.
mikicl said:
Thank szgfg,
Both are already well configured, but still closing the app.
Click to expand...
Click to collapse
Check also is not being closed by the automatic cleanup (so add it to clean whitelisted apps) and that is not being closed due to high consumption...disable that on battery settings... Let the advertisement but do not let phone administrator close that apps automatically
Enviado desde mi EVA-L09 mediante Tapatalk
Hi jcalderonv74,
Thanks for your answer. I didn't know about the clean whitelisted apps, was a surprise to find it. But unfortunetly, everything was well configured.
Option to avoid being closed due to high consumption was already OK.
So nothing to change, everything was as it has to be. Seems more a software problem in EMUI 5.0
After some days without touching anything in the phone's configuration, finally observed that everything is working fine. All aplications configured keep opened, and it's only Radardroid aplication that sometimes closes alone (only sporadically after a recent update)
Seems more an error in Radardroid aplication that in telephone's software. So I'm not worring more about that.

battery drop-down: solutions

Just in case someone is running into a similar problem: my s8's battery didn't last half a day. Hooked to my pc via USB, an analysis with "adb shell top" showed that even with screen off, Firefox and system_service caused double digit CPU load all the time. "adb shell logcat" had a mass of entries from "smart stay", a feature to keep the screen on if the selfie cam sees a face. So I turned this feature off and I have to force-stop Firefox after using it every time (tasker can help with this) - et voila, battery lasts 2 days again.

Phone goes to sleep and freezes terminal execution

Hi all,
I wrote a program which runs in Terminal on my phone (Android 9), this program makes some computations and writes the result in a file. No input, no app.
I have realized that after a few minutes I suspend the display the execution is frozen and resumes when I switch it on again, very annoying since my goal is to take advantage of the CPU during day and night.
Is there any way to avoid this? Note the phone is not rooted
Thanks a lot to whomever will reply
S
The terminal's output device is phone's screen. It should be obvious that terminal app interupts working when you suspend the screen and resumes working when you turn on screen again.
No, should not be, in the options of Terminal there is something like Activate Wakelock which should make so that the processing continues even in suspension, But does not seem to work

Categories

Resources