Related
hi,
here's solution for BT/wifi/gprs/AS dissonnect, when device is in 'unattended' system state.
under [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Interfaces] there you can see following:
{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}=Power-manageable NDIS miniports
now, check what do we have here:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\State\Suspend]
do you see it's GUID there?
{98C5250D-C29A-4985-AE5F-AFE5367E5006}
default=4
(Off - see below)
that means, on suspned, those devices are powered down.
try to change it to:
default=0
That means ON
I was also too lazy/busy to make a cab for it... maybe later or DYI. ;o)))
The same stuff can solve those vertical stripes on Himalaya, when the device is suspended.
Here's a description of "Device Power States":
Full on -> D0
State in which the device is on and running. It is receiving full power from the system and is delivering full functionality to the user.
Low on -> D1
State in which the device is fully functional at a lower power or performance state than D0. D1 is applicable when the device is being used, but where peak performance is unnecessary and power is at a premium.
Standby -> D2
State in which the device is partially powered with automatic wakeup on request. A device in state D2 is effectively standing by.
Sleep -> D3
State in which the device is partially powered with device-initiated wakeup if available. A device in state D3 is sleeping but capable of raising the System Power State on its own. It consumes only enough power to be able to do so; which must be less than or equal to the amount of power used in state D2.
Off -> D4
State in which the device has no power. A device in state D4 should not be consuming any significant power. Some peripheral busses require static terminations that intrinsically use non-zero power when a device is physically connected to the bus; a device on such a bus can still support D4.
buzz
Thanks Buzz trying it now, one question though. Wouldnt changing it to 2 work best? Im thinking of the power drain when setting it to 1 or does it not consume that much power? Thanks
efjay said:
Thanks Buzz trying it now, one question though. Wouldnt changing it to 2 work best? Im thinking of the power drain when setting it to 1 or does it now consume that much power? Thanks
Click to expand...
Click to collapse
do whatever you like... )
According to msdn:
"Device Power state definitions are statically predefined."
However:
"OEMs define system power states. They are referred to by OEM-defined names such as On, SystemIdle, OnBattery, InCradle, OutOfCradle, and so on. These names are not predefined, and are not necessarily ordered in a linear way. You define system state names as registry keys in the system configuration. There is no limit on how many system power states you can define."
)))
buzz
Thank you buzz for the tweaks so far
Since u got into the power management tweaks, on our BA's when it's on cradle or charger specifically on WM2003-Se the phone doesn't vibrate when incoming call arrives, but on magneto it vibrates when it's connected to power is there a tweak to disable the vibrator when it's plugged to the cradle/charger ?
wow great buzz, will this fix the BT problem under BA WM5 as well?
Doesnt fix it for me with my BA and a SE HBH-200.
Edit: What i noticed was it didnt seem to affect BT but with wifi setting the entry to 0 would cause wifi to shut off completely if you turned the phone off and back on again. What would normally happen for me is wifi will still be on but would need to be restarted after the phone has come out of suspend.
Buzz is this fix for the BA or just Himalaya?
efjay said:
Doesnt fix it for me with my BA and a SE HBH-200.
Edit: What i noticed was it didnt seem to affect BT but with wifi setting the entry to 0 would cause wifi to shut off completely if you turned the phone off and back on again. What would normally happen for me is wifi will still be on but would need to be restarted after the phone has come out of suspend.
Buzz is this fix for the BA or just Himalaya?
Click to expand...
Click to collapse
well, headset doesn't use network miniport, i'd say...
i've got HS801 here... let me test the headset.
buzz
...later on, i found, that if you press the power button, the device goes into "unattended" mode.
That means, we also need to do the changes there.
There is no NDIS miniport GUID defined, so it takes the default value of 4, which is power down...
The stripes and audio solution is also in there...
to be continued...
buzz
HKLM\\system\\currentcontrolset\control\power\State\ "default" set to "0"
HKLM\\system\\currentcontrolset\control\power\State\Useridle\ "default" set to "0"
HKLM\\system\\currentcontrolset\control\power\State\resuming\ "default" set to "0"
HKLM\\system\\currentcontrolset\control\power\State\resuming\{eb91.... "default" changed to "0"
HKLM\\system\\currentcontrolset\control\power\State\{98c5.... "default" changed to "0"
Well, did the thing above, first there was no change visible, so i resetted my device.
Well my wifi was activated and connected after the reboot.
my device suspended anyway.
but once i activate the device again, the wifi turnded on, but the device is not able to connect to the AP. think i miss some additional registry settings to flush the network config, since the lease on your ip adress is terminated. or something else, i dont know. but had this before with the jasjar wifiautoonn and wifiautooff exe's 8)
But there are mountains of registry things here, so i try more.
let's have some fun with those power settings...
open your regeditor and change
[HKLM/system/currentcontrolset/control/power/state/on]
"bkl1:"=dword:4
and
[HKLM/system/currentcontrolset/control/power/state/backlightoff]
"bkl1:"=dword:0
after changing the regs, press power button to off and on again. that will flush and apply new settings.
ok. the above settings will REVERT backlight's behaviour. I mean, when device is on, backlight is off. after inactivity timeout, light goes on.
well... funny experiment...
that proves, that devices could be powermanaged from here.
if you've had enough fun, revert those settings to normal. ;o)))
now set in:
[HKLM/system/currentcontrolset/control/power/state/unattended]
"bkl1:"=dword:0
that SHOULD turn the backlight on, when you leave the device untouched for a longer time (when the display goes off) or if you press the power button.
so leave it untouched and watch the display to see what's gonna happen on the 'unattended' state.
after approx. 5 minutes (never measure that), just when the display is about to off itself, BACKLIGHT FLASHES for a second and goes OFF.
why? we just said, bkl1:=0 (ON)?
so our settings are overriden. maybe that 'flags' settings?
lets see later, but exactly the same happens with BT connection even if we say ON, it goes off...
This also affects connection power management.
[HKEY_LOCAL_MACHINE\Comm\Parms]
AllowSuspend=dword:1
set to dword:0 and your network connections will not power down.
When my device is craddled and has ActiveSync connection it doesnt disconnect now, when power button is pressed.
more here
buzz
buzz_lightyear said:
This also affects connection power management.
[HKEY_LOCAL_MACHINE\Comm\Parms]
AllowSuspend=dword:1
set to dword:0 and your network connections will not power down.
When my device is craddled and has ActiveSync connection it doesnt disconnect now, when power button is pressed.
buzz
Click to expand...
Click to collapse
It didnt work for my device
any program
any program that can search for an unsecured wifi connection every 2 minutes or so?
that would be really nice..
Can help me
i think that you can help me. My device ia a Ubiquio 401 and this device have issues with GSM signal when it is in sleep mode. How to solve?? Or, thaere are any solution to powe button only turn backlight off, no suspend??
I would really love this to work on my diamond but it doesn't
I set the first value to 0 (in the first post) and
[HKEY_LOCAL_MACHINE\Comm\Parms]
AllowSuspend=dword:0
the wificonnection still searching everythime I get back from suspend mode..
any ideas for diamond users? :S (WM 6.1)
ramram said:
Thank you buzz for the tweaks so far
Since u got into the power management tweaks, on our BA's when it's on cradle or charger specifically on WM2003-Se the phone doesn't vibrate when incoming call arrives, but on magneto it vibrates when it's connected to power is there a tweak to disable the vibrator when it's plugged to the cradle/charger ?
Click to expand...
Click to collapse
Sent from my Freeza MD4 Stock Rooted Galaxy S3
Ok, I'm sorted with the BT tray app now from c0rnholio, good bit of kit that does exactly what it says on the tin.
Does anybody know of a tray applet to turn wireless on and off?
I've searched but my search string obviously isn't imaginative enough.
You can try this, and the other one is for bluetooth
Spot on thanks!
bigsmart said:
You can try this, and the other one is for bluetooth
Click to expand...
Click to collapse
http://www.silentservices.de/btIO.html
I think there is a later/newer version of the bluetooth util there.
There is, I've already got the 0.5 version. Thanks for the steer.
wifiIO
Just a warning. I removed wifiIO from my webpage because there is a bug in it which _may_ lead to system freeze. I found that if your device has wireless enabled through wifiIO and after that goes to standby (screen blacks out) this sometimes will result in a 100% cpu usage. So be carefull with this release.
The reason is, that my program directly tells the wlan nic to got to full power without correctly involving the systems power management. I tried to make a power up request to the power management for the wlan nic but it simply does nothing. I will try to fix that in the next release, but don't expect it to be soon.
Cheers
c0rnholio said:
Just a warning. I removed wifiIO from my webpage because there is a bug in it which _may_ lead to system freeze. I found that if your device has wireless enabled through wifiIO and after that goes to standby (screen blacks out) this sometimes will result in a 100% cpu usage. So be carefull with this release.
The reason is, that my program directly tells the wlan nic to got to full power without correctly involving the systems power management. I tried to make a power up request to the power management for the wlan nic but it simply does nothing. I will try to fix that in the next release, but don't expect it to be soon.
Cheers
Click to expand...
Click to collapse
Cornh0lio, I've noticed this and managed to get round it by either turning off wifi before the machine goes into standby or by turning off and turning back on as soon as it comes out of standby. It's still a better 'one-click' solution than going through comm manager.
c0rnholio said:
Just a warning. I removed wifiIO from my webpage because there is a bug in it which _may_ lead to system freeze. I found that if your device has wireless enabled through wifiIO and after that goes to standby (screen blacks out) this sometimes will result in a 100% cpu usage. So be carefull with this release.
The reason is, that my program directly tells the wlan nic to got to full power without correctly involving the systems power management. I tried to make a power up request to the power management for the wlan nic but it simply does nothing. I will try to fix that in the next release, but don't expect it to be soon.
Click to expand...
Click to collapse
Anything new on the WiFi toggle app as yet? Seems like an excellent little program once you get the bug sorted.
Regards,
Ron
When i lock the screen (s2u or default mode) with the button on top, the internet also seem to hang. My phone is configured to download my mails every 15 minutes, but it does not work until i unlock the screen. Anyone knows how to solve this problem? Using the default ROM.
This is common. For many, their HD comes with certain power management features enabled. In short, your HD likely disconnects from the internet when you put your phone into standby as an attempt to conserve battery power, which is why your email doesn't check until you wake the phone up and it reconnects. I believe this is your issue. If your handy with a registry editor try this: HKLM\Comm\PPTP1\Parms\DisablePowerManagement DWORD=1. Then exit the registry and softreset.
Or you can install Schapps Advanced Config and disable PPTP under his "Power Management" drop down.
Hope this helps
I've checked that setting, but it's already on 1. I think i already disabled it a while ago, when i tried to fix this issue.
Might be a stupid question on my part, but in phone settings do you have a data tab? For one reason or another, some do some don't. You may already be aware of this so please bare with me if you do, but there is a box in that tab that gives you the option to disconnect data in standby. At least there was for me on the default rom.
Another thought is to install Schapps Advanced Config, and under power management, instead of disabeling only PPTP, disable all of them and see if your data connection remains active in standby. If it does, then you can go back and enable each one until you find the culprit. It may also be helpful to assign a sound to "data connection established" and "data connection disconnected" under settings "Sounds and Notification" so at least you can hear a sound when your data disconnects in standby and also count how many seconds it takes to do that. There is also a timeout setting in the power management for battery power and AC. You might want to see if those help. In the past I set both to 60.
Also HD tweak has a setting that allows you to keep your data connection on "always". If it stays on doing that then at least we know it wasn't a power management issue.
Last thought: is there perhaps some software or a lock program you have installed that might be causing this?
I'm out of ideas. It seems like something simple that I'm not thinking of. If I do, I'll post it.
Always on mode does not solve it, will try the other program. Thanks for the help!
edit: nothing seems to solve it. I guess i will try to update to WM 6.5 custom rom, what is the most used version? (i'm new to custom roms)
rensariens said:
Always on mode does not solve it, will try the other program. Thanks for the help!
edit: nothing seems to solve it. I guess i will try to update to WM 6.5 custom rom, what is the most used version? (i'm new to custom roms)
Click to expand...
Click to collapse
Most used wm6.5 roms would be Miri's and Duttys
Hi All,
in the company I work for we use a range of XDA's for our drivers, the current and most popular one is the HD2, however i have noticed that drivers are able to put the XDA to standby, normally this is a requirement, however for the system we are using it causes major issues and provides the driver a way to cheat the system.
What im looking for it a way to disable the hardware buttons when the device is switched on, i imagine there may be a registry edit, but im not sure and need help as this is becoming a pressing issue.
Thanks
M
Your request is very peculiar, and I seriously doubt that you can achieve something like that, after all completely disabling the hardware buttons can impair seriously the functionality of the device and I don't think there is a pre-set method to do that.
Anyway, I've seen a thread that talked about reassigning the shortpress on power button to something else (and I'm talking about shortpress, not longpress), yet this didn't work on the HD2 when I tested it this morning.
Anyway, if your system is debunked by putting the device in standby, it will also troubled by simply removing the battery. In other words, you can put a strong password to forbid a user from turnning off a pc from the start menu, but you cannot forbid this user from pulling the plug off the mains
Anyway, a very feeble solution could be making so that whatever is that's thrown off by the standby, keeps working even in standby; there's a tweak for wifi that allows wifi radio to stay on during standby, and probably forcing the wifi always on, and tweaking it from bsb to be on even during standby, it will also force the CPU of the device to be on even if you lock the phone by press endkey
Dont really want to give too much away, but our application uses gprs/3g and gps constantly, and by going into standby it loses connection with our servers and gps, thus allowing users to go standby in one area and then turn back on somewhere else but system thinks they are in area 1 until they move to antoher area again. this causes a major issue and headache for me, so what i really need is for the app to remain live when in standby and to keep the data and gps connection live
hope that makes sense
Hi,
These threads may help:
http://forum.xda-developers.com/showthread.php?p=6417238
http://forum.xda-developers.com/showthread.php?t=661472
had a look at those links and the second won looked like a winner, but when hit the HW power button the device still goes off, however i noticed that it kept its gprs connection, but it still lost gps which is one of the main factors. Just need some way to stop the device from turning off, apart from removing the case and then removing the buttons
railto said:
had a look at those links and the second won looked like a winner, but when hit the HW power button the device still goes off, however i noticed that it kept its gprs connection, but it still lost gps which is one of the main factors. Just need some way to stop the device from turning off, apart from removing the case and then removing the buttons
Click to expand...
Click to collapse
try this:
Change this with your registery
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Resuming]
"gps0:"=dword:00000001
"gpd0:"=dword:00000001
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Unattended]
"gps0:"=dword:00000001
"gpd0:"=dword:00000001
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power\State\Suspend]
"gps0:"=dword:00000001
"gpd0:"=dword:00000001
Normaly the numbers are on "4" - put this on "1" and gps should stay awake even when you put the phone in standby.
It will stay on until a program stops using the gps.
found it here
http://forum.xda-developers.com/showthread.php?t=676267
railto said:
had a look at those links and the second won looked like a winner
Click to expand...
Click to collapse
It's the first one you should try. Works fine for me.
http://forum.xda-developers.com/showpost.php?p=6416870&postcount=6
But frankly if they do it on purpose they will no doubt find other ways to do it - so you should rather build in some protection in your software to detect it, like if 2 consecutive positions are at the same place but with more than a certain amount of time apart, it's that they turned the thing off / cut connection on purpose/...
EDIT: wilcovh beat me to it.
those reg edits have been confirmed not to work... at the time being there is no way to have the GPS stay on while in standby, and that's a pity. I am personally interested in this and have researched in the forums, yet no working method was devised (yet). And I would love to be corrected by someone, but all the solutions I found were app specific (as in, app turns off screen without turning off GPS).
So, unless the drivers should have a personal reason to "cheat" the system by turning off the GPS, just instruct them not to press that button
If they just want to turn off the display, you can make it so that they do just that without actually locking the device, by associating, as I did, longpress on send key, with xdashutdown /lightsout command. That will turn off the screen but the phne won't be locked nor put to standby.
the theory of having gps active while on standby is moot and now useless, i need to stop the device going into standby mode period
to my best knowledge you can't really do that; I mean, you can programmatically disable automatica standby in an app by calling a function to reset the idle timer, yet the power button will put the device into standby.
I'm almost positive neither AEbutton plus can remap the power button short press on the HD2, but giving it a try won't hurt that much
railto said:
the theory of having gps active while on standby is moot and now useless, i need to stop the device going into standby mode period
Click to expand...
Click to collapse
other approach:
app that wakes up the device after a minute or so? the gps only disconnects for short time.
railto said:
the theory of having gps active while on standby is moot and now useless, i need to stop the device going into standby mode period
Click to expand...
Click to collapse
But that's solved already!
The keepAwake app posted earlier, music players keeping playing when pressing the off button, IM clients continue to run and receive messages after pressing the power button (implies both processor running and internet connection active)... in these cases, like any app that does the required system calls to disable standby while it's running, the device won't go to standby.
The only real problem you're facing is that GPS goes off when the power button is pressed, regardless of whether the rest of the device actually goes to standby or not (try running a GPS app while playing music, press power button, music still plays but GPS turns off).
Now we pointed some hints for you - you can try them (the reg edits for GPS apparently work in some cases but not all), but if they don't work then you're alone on that one, no solution is known. And tbh I've never seen any device on which you can disable the power off key, and it's obvious why...
Hi, I have Windows 8 Pro 64 bit on a Toshiba Portege R830 (Core i5) laptop.
My problem is that if I lock the screen and shut the laptop lid and leave it for a while, when I reopen the lid the screen is all green but otherwise completely blank apart from the mouse pointer (which does respond to the mouse/touchpad ok), and there's no way to unlock the screen to get the system working again that I can find. I have to long-press the hard power button to force a power off, then re-boot from cold. Everything works after that until the next time!
I do have a screen saver enabled (Electric Sheep), but after a few restarts the screensaver is disabled too. Also I have the power profile set up to do nothing on shutting the lid (i.e. no standby or power down) when plugged in to the power.
Does anyone have ideas how to resolve this? I figure that whatever's disabling the screensaver is also causing this behaviour, but I could be wrong too.
TIA
Has this problem recently bugged you or was It present since when you installed windows 8?
I'd say it's been on and off since Windows 8 was installed (RTM Box version, clean install -i.e disk-reformat). When I re-enable the screensaver it seems to behave for a while, but then when the problem reoccurs, the screensaver also seems to gets disabled (which I never do myself).
Sounds like hibernate or standby isn't working on your system. Check for a firmware update. Try disabling hibernate. You'd also lose fast boot, since it's tied to hib.
Hibernate disable: Win-X, run Command Prompt Admin. Enter powercfg /h off
Check available sleep states: powercfg /a
Also, try powercfg /energy for an energy diagnostic.
Portege R830 BIOS version 3.90_160 - 2012-09-12
* EC/KBC V1.60: Improved standby stability.
* EC/KBC V1.60: Modified the power supply error detection method.
>I have the power profile set up to do nothing on shutting the lid
Lid-close action is separate from inactivity. System will still go into standby or hib unless specifically disabled.
I have a laptop pretty similar to yours. I have the portege r835-p56x
I have had this problem but did you check event viewer. I know that some if the drivers will cause certain problems.
The only problem i have is if I leave my computer for awhile, it locks itself and I don't even have it set on that setting.
To add extra info about my setup in regard to your problem, I don't have the screen saver enabled but I have hibernate enabled.
Sent From My YP-G1 running ParanoidAndroid beta 2
goldflame09 said:
I have a laptop pretty similar to yours. I have the portege r835-p56x
I have had this problem but did you check event viewer. I know that some if the drivers will cause certain problems.
The only problem i have is if I leave my computer for awhile, it locks itself and I don't even have it set on that setting.
To add extra info about my setup in regard to your problem, I don't have the screen saver enabled but I have hibernate enabled.
Sent From My YP-G1 running ParanoidAndroid beta 2
Click to expand...
Click to collapse
There are two things you can do with the lock screen - you can prevent it from appearing on startup with a group policy change and you can prevent it from locking the system automatically after 1 min (this is the windows default)
To prevent the lock screen from appearing at startup:
press Windows+R (the Run command) and type GPEDIT.MSC
navigate to Computer Configuraton\Control Panel\Personalization
Look at the setting for "Do not display the lock screen" and set it to your preference. It takes effect on the next reboot.
To prevent the Lock Screen from locking the screen after 1 minute of inactivity there's a hidden power setting for the Display you can change in the registry. See this post on the Windows Eightforums: http://www.eightforums.com/tutorial...ole-lock-display-off-timeout-windows-8-a.html
HTH
I found a simpler way. Might not work for you, but, my little sister had the problem. So we looked on every website we could find. I finally gave up, then had the idea to restart the computer using the restart button instead of force shut down. Guess what. It worked...