Windows Phone 7 like every other phone OS turns off the screen after a period of inactivity. This is not a problem most of the time because any user activity (namely finger interactions on the screen) resets the countdown, so if you are using an application the screen saver will not get in the way. However there are some particular cases where it is useful to disable the idle detection, for example in games or apps that require long reading (or watching). In that case you can completely disable idle detection:
PhoneApplicationService.Current.UserIdleDetectionMode = IdleDetectionMode.Disabled;
Keep in mind that this disables the “screen saver” at all, so be careful because you could drain the poor user’s battery if you do it without valid reason.
There is another more interesting case, though: suppose your app uses the accelerometer as its main user input. In this case there won’t be any user activity to trigger a countdown reset, but disabling it at all also doesn’t look like the best idea.
My dell inspiron 15r 5521 when it shuts down it'd screen goes off but the lights stay on for about three minutes when the screen has gone off the only way to completely get the lights to go off is to hold down the power button for like ten seconds I know it's not good for it but sometimes when I'm in a hurry I have to this computer is like three weeks old so what's wrong with it also how do I keep wifi on when closing the lid is there a registry hack for that? And what is fast boot
Sent from my SGH-T759 and if my gramor is wrong it's probably because I sent this while walking or rushing before a class starts
The default "shut down" behavior on Win8 is to reboot the computer and then hibernate right before the login screen. This enables the "fast boot" you mention where the computer can be "started" (actually resumed) in seconds. The best solution to this is just never shut down (seriously, there's literally only a couple reasons to ever do this, and I don't think you're adding or removing hardware every time you run between classes...). Use sleep (suspend to RAM; near-instant both to suspend and to resume, draws a tiny bit of battery power but you can leave the machine that way for a week, usually) or hibernate (suspend to disk, takes a while - though it shouldn't be anywhere near 3 minutes - but then shuts down completely and uses no power at all). As a bonus, these methods don't require killing all your programs and starting them again, so you can resume exactly where you left off (even, for example, resume an interrupted download in most cases).
Disabling Fast Boot (look up how to do it, I'm not going to bother holding your hand all the way to the search box of your browser) would let you power the machine down more quickly, but will make bootup somewhat slower (though Win8 still boots up quickly). Disabling Hibernate will also disable Fast Boot, but I don't recommend disabling Hibernate unless you're seriously short on disk space (it reserves a "hibernation file" that is the size of your system RAM). In any case, it's probably just fine to move your computer while it finishes "shutting down" anyhow, though; no need to wait until all the lights are off (don't bang it against anything while the drive is spinning, assuming it's not using an SSD, but that's never a good idea anyhow).
As for leaving WiFi on while the screen is closed, the most likely only way to do that is to modify the Windows power settings to select Lid Close Action: Do Nothing (it will still turn off the screen, which will save a bit of power). However, this just leaves the computer running and will drain the battery almost as fast as using it. A few Win8 machines have a special low-power mode called "Connected Standby", which is similar to what smartphones and tablets do when in sleep mode, using more power than a full suspend-to-RAM but turning off almost everything else except the radios. If your computer doesn't already do this while in sleep mode, though, you're probably not going to be able to enable it; I believe it requires hardware support.
WiFi turning off when you close the lid is normal. Closing the lid *under default settings* puts the laptop into sleep mode. Sleep mode disables WiFi unless your device supports connected standby, which yours doesn't to my knowledge.
Advanced power plan settings will let you set it so that closing the lid does nothing. I would recommend creating a new plan if you want to do that.
Pausing downloads is exactly why I prefer torrents when available, sadly few downloads are available as torrents
torrents pause when you get disconected?
torrents break up downloads into much much smaller segments (few kb to 1mb max) and download each segment independantly. Lets say a 5mb file gets broken up into 10 half mb files instead. The torrent client will download them individually, if the internet gets cut midway through file 4, when you reconnect to the internet it still has files 1, 2 and 3 so still has 30% of the progress already. It can just continue from file 4. So yeah, torrents can survive internet disconnection, sleep, hibernate and even a complete system reboot (literally, shut down the machine, start it up 5 or 6 days later and you will be almost exactly where you left off). At the most you might be 1mb behind but as torrented files are sometimes a gb or more that is pretty insignificant. And even on a dial up connection 1 mb is not going to take long to restore.
For smaller downloads like a single MP3 track or a word document its not worth it. But I personally have an internet connection running at 100-200 kilobits per second, so if I want to download a 1.5gb linux distro the ability to pause the download is a huge benefit.
Sadly, few downloads are available as torrents, they are also peer to peer so that relies on a peer being available (basically rather than downloading the file from a dedicated server I am downloading various parts from different people who also have a torrent client and the same file).
Too many people also associate torrents with piracy. It is true that you can pirate movies via a torrent yes, but that doesnt make torrents illegal in any way. It is common for very large files to be offered as a torrent purely because of the pause/resume functionality. Most major linux distributions offer a torrent as a major distribution method.
My preferred torrent client is bit-torrent, heard a few recommendations for μTorrent.
Back ontopic.
Done a little more research. Pretty sure now that your system will not have Connected Standby so you are stuck with wifi turning off when you enter sleep mode. Chances are if you had it then it would already be enabled.
Not really sure whats happening with the lights. In order on the laptops I have had access too (including my old inspiron) on shutdown the display would shutdown, then the fan would cut off and the lights would go out and that would all be within 2 or 3 seconds start to finish (usually the display > fan transition was longer than fan > lights). Never seen 3 minutes myself but I doubt the battery drain from it would be significant so I would perhaps ignore it as an odd quirk, perhaps keep an eye on it.
Yeah idk about lights staying on that long because I'm pretty technology savy and we have a 2011 inspiron that manily my syblings use and it dosebt have that problem but I guessing I'll just keep an eye on it but does anyone know of any hacks to keep Wi-Fi on.
Sent from my SGH-T759 and if my gramor is wrong it's probably because I sent this while walking or rushing before a class starts
The wifi on thing is hardware. The system almost completely shuts down in sleep mode. It keeps a little bit on to keep the RAM active and a few other minor tasks but for all intents and purposes its completely shut down. Only if your device supports Connected Standby can it enter sleep mode and keep wifi on. But at the moment only intel clovertrail chips support it. I think the haswell may be getting it too.
There wont be anything like a registry hack to keep wifi on. Wifi off in sleep mode is a trait of all major desktop systems. The only major operating systems which do leave it on are probably android and iOS and they are movile systems which never go into a true sleep mode. They just dim the display and prevent user applications from being run (unless they are given explicit permission to run when locked).
If you really want wifi on when your lid is shut. Go into the power plan settings, create a new plan. Go into its advanced settings and there is a section about what action should be executed for various things like pressing the power button, sleep button (if applicable), reset button (if applicable) and closing or opening the lid of a laptop etc. By default close lid will trigger sleep mode. You can hit the dropdown box and set it to do nothing. Even when set to do nothing, when you close the lid the display will turn off. But otherwise the laptop will remain fully powered on, infact if you hook up an external keyboard, mouse and monitor the system is still usable. The battery drain will be almost the same as leaving your system idle for ages, but as the laptop wont be in sleep mode the wifi will remain on. Its worth looking through that menu anyway, I personally rebind the power button to enter hibernate
maybe the “fast boot” i
feherneoh said:
I hate being the noob here, but fast boot does really restart system when shutting down?
I thought that it starts to shut down just like when not using it, but when only the kernel and drivers are still running, it hibernates those instead of a complete shutdown. This would make the black screen appearing after the 'Shutting down' message clear, as it is used when hibernating the system.
Sent from my Htc Hd2 using xda app-developers app
Click to expand...
Click to collapse
It shuts down, rebooys and immediately hibernates. Then when you go to hit the power button to turn the system on it appears to boot ridiculously quickly because it only has to wake from hibernation. This might indeed cause the lights to stay on a little longer
feherneoh said:
But then why do the system slow down if I don't do a full shutdown or reboot eg for 2 weeks?
Sent from my Htc Hd2 using xda app-developers app
Click to expand...
Click to collapse
Is this really happen after Windows 7? I didn't restart my laptop and only use sleep mode since upgrade to Windows 7. I only shutdown or restart when Windows Update (sometime I force to not restart), software install, hardware fix.
feherneoh said:
For me everything slows down after 1 week without full shutdown/reboot, just like on Win7. This is why I cannot believe that it really reboots when performing a hybrid-shutdown.
Click to expand...
Click to collapse
What did you mean hybrid-shutdown? And what you did when you full shutdown/reboot?
I'm not experiencing the same issue on windows 8 myself
Hybrid Boot (that's the correct name for hybrid shutdown / fast boot) does not fully shutdown computer. The process is divided into two parts: log off all users and hibernate remaining system/kernel part. So if you have misbehaving drivers/services, then computer can become unreliable after some time.
When you restart computer, even with fast boot enabled, system goes to full shutdown without hibernation part, so this can temporarily resolve problems like above.
quidrick said:
When you restart computer, even with fast boot enabled, system goes to full shutdown without hibernation part, so this can temporarily resolve problems like above.
Click to expand...
Click to collapse
Can we have a confirmation about it? Because I enable/disable fast boot all the time...
You r right if you don't want that problem disable the quick boot options in power management......
Press thanks if i helped
Sent from my Micromax A116 using xda premium
A quick google on the issue brings this up
Windows 8 changes this by shutting down as far as closing the user sessions. At that point, instead of continuing and ending system services, and shutting down
Session 0, Windows then hibernates. This is called Hybrid Shutdown. The steps are shown below.
Click Shut down.
Windows broadcasts messages to running applications, giving them a chance to save data
and settings. Applications can also request a little extra time to finish what
they’re doing.
Windows closes the user sessions for each logged-on user.
Hibernate the Windows session.
Essentially a Windows 8 shutdown consists of logging off all users and then hibernating.
http://blogs.msdn.com/b/olivnie/archive/2012/12/14/windows-8-fast-boot.aspx
A full reboot of windows 8 takes a lot more time than the hybrid shut down. When you reboot, the actual shut down procedure of windows 8 occurs, without cutting off power, ofc.
Therefore, hybrid shut down aka fast boot has nothing to do with restarts.
I have read a lot online and there seem to be a lot of different information about the developer option and limiting background processes. From what I understand, even if I set it to none, I will still receive messages via GCM from apps like Facebook Messenger.
But apps would refresh every time I open them, so more drain when multitasking, but if I mainly use 3 apps, it shouldn't refresh much by setting it to three?
Even of I set it to none, my standby time would increase, but my battery life when using the phone would decrease, right? Because of the continuous reload.
So is my understanding right and do you know if it actually saves power? Also, as stated, if I use very few apps daily, would it increase battery life limiting background processes to a low number?
Thanks in advance
Faspaiso said:
I have read a lot online and there seem to be a lot of different information about the developer option and limiting background processes. From what I understand, even if I set it to none, I will still receive messages via GCM from apps like Facebook Messenger.
But apps would refresh every time I open them, so more drain when multitasking, but if I mainly use 3 apps, it shouldn't refresh much by setting it to three?
Even of I set it to none, my standby time would increase, but my battery life when using the phone would decrease, right? Because of the continuous reload.
So is my understanding right and do you know if it actually saves power? Also, as stated, if I use very few apps daily, would it increase battery life limiting background processes to a low number?
Thanks in advance
Click to expand...
Click to collapse
things that might help save Battery :
disable Facebook app & other apps you don't use/need
turn off location when not in use
turn off NFC when not in use
when on WiFi turn off Mobile Data
turn off Bluetooth and WiFi scanning (to stop apps scanning in the background, apps scan even when Bluetooth & WiFi are Off)
turn off Nearby Device Scanning
Mr. Gold said:
some things that might help:
disable Facebook app & other apps you don't use/need
turn off location when not in use
turn off NFC when not in use
when on WiFi turn off Mobile Data
turn off Bluetooth and WiFi scanning (to stop apps scanning in the background, apps scan even when Bluetooth & WiFi are Off)
turn off Nearby Device Scanning
Click to expand...
Click to collapse
I don't know what that have to do with anything.
If you are already using 3 apps only, there is nothing more to be kept in ram, so if you limit to 3 the number of the apps that the phone canzoni keep in ram, nothing will change...
I've recently switched over from iOS to a Samsung Galaxy S8 running Android 8. During the first week everything worked just fine. I was receiving push notifications on a regular basis. A few days ago suddenly notifications stopped working intermittently when screen is off. I couldn't find a pattern really. It does it both on Wi-Fi and 4G, for all apps. Sometimes push notifications work, sometimes they are delayed (receiving them after a few minutes) and sometimes they do not work at all.
Each time it doesn't work when I turn on the screen, all notifications pop up with both sound and visual.
What I checked so far:
- Notifications turned on for the specific apps and allowed on lockscreen
- Apps were also put into the "Unmonitored apps" under Device Maintenance - Battery
- Wi-Fi on during sleep set to always
- Data saver turned off
- Optimize battery usage - checked that the apps are set to off
- Even tried by enabling Always On Display setting - same behavior.
For me it seems that the something in the battery optimization process is messing up with the notification service. I can't say for sure if it happens for messages as well as I don't receive text messages so often, but it happens for all other apps: Gmail, Whatsapp and some other apps I use.
I noticed that under Optimize battery usage there are a lot of system services and they are all set to be optimized. Which I find very odd considering that probably some of them are very important for the system to run properly. Is it possible that there is a service there that handles notifications and I should switch off battery optimization for it as well? The only name I found close was a service called "notification" which I disabled, but without success. Still not getting push notifications.
Any idea what else can be checked? If I cannot find a solution to it I will most probably go back to iOS as this is very annoying. I heavily rely on notifications for work purposes as well.
Has anyone else noticed that notifications seem to be super slow in coming after the Pie update? Line and Email can take up to two hours to exhibit a notification. I've looked at the notifications area of the apps, and nothing appears to have changed that I can see, and I can't find anywhere in Pie to tell it to allow more background time for these apps. I've tried force stopping and restarting with no change.
If anyone has any idea on what is going on, and how to fix it, your help would be most appreciated. Being told your wife left you a Line message 2 hours after she did so, or that your kid sent an email 2 hours earlier, is NOT conducive to a happy home life.
Nobody else has this issue? It appears to be connected to the fact that the phone is sitting undisturbed for a long period of time. If I am carrying the phone around with me, the notifications seem to come as expected, but if the phone is just sitting on my desk for a while, they seem to come from minutes to hours later.
You could try to whitelist those apps on Battery Optimization
I'm no expert, but from what you describe sounds like the phone is entering into Doze and notifications cannot come until the next maintenance window
If a user leaves a device unplugged and stationary for a period of time, with the screen off, the device enters Doze mode. In Doze mode, the system attempts to conserve battery by restricting apps' access to network and CPU-intensive services. It also prevents apps from accessing the network and defers their jobs, syncs, and standard alarms.
Click to expand...
Click to collapse
https://developer.android.com/training/monitoring-device-state/doze-standby
I think white listing the app prevents this behaviour
It does sound like you are correct and the phone is entering Doze mode, delaying the notifications. Thanks for that!
I will check into how to add the email and Line app to a whitelist for Doze. Hopefully it's a simple task, but I don't see anything under Battery doing a quick scan.
Just a follow up. After much searching and reading, I finally found where to turn off battery optimization for the two apps I needed notifications from. FYI:
Most things on the web say to go to Settings->Battery, then hit the three dot menu and select Battery Optimization. This does not appear on my phone. (see screenshot) To get to the list of optimized apps, you need to Search->Battery Optimization, select Battery Optimization from the results (it will take a few seconds to load), then tap Not Optimized and select All Apps. Find the app you want, tap it, then select Don't Optimize. You can also go to Apps and Notifications->Advanced->Special app access->battery optimization.
Whether this will actually fix the problem is another question entirely as most posts say that Doze continues to work. I guess we shall see.
I hope this saves someone the aggravation of trying to find something directly relating to Pie. Most things out there are for older builds.
Also, I turned off Adaptive Battery to see what the actual difference is in my light usage use case. If you are interested in the results of this test, let me know and I will post here.
Glad you were able to whitelist those apps.
I think it's weird anyway, as far as I know deep doze takes hours to trigger and the device has to be completely still. Any movement would take the device off deep sleep and enter a less aggressive doze (where notifications would be checked more often)
You did mention this is your case (you were leaving your device on your desk) but just for curiosity, how long approx would you leave your phone unattended?
Thanks and I hope this solves your issue.
Tepig said:
Glad you were able to whitelist those apps.
I think it's weird anyway, as far as I know deep doze takes hours to trigger and the device has to be completely still. Any movement would take the device off deep sleep and enter a less aggressive doze (where notifications would be checked more often)
You did mention this is your case (you were leaving your device on your desk) but just for curiosity, how long approx would you leave your phone unattended?
Thanks and I hope this solves your issue.
Click to expand...
Click to collapse
Unlike some folks, I am not tied to my phone. It often sits on the desk undisturbed for 3 or 4 hours during the day unless a notification comes in and I pick it up to look at it. Most of my screen time is on my computer, so the phone is the external brain when out and about, but not used much otherwise. At night, I turn on airplane mode until I get up the next day, then turn it off. I'm a retired software engineer, so have no real need for constant communication anymore, and I like it that way.