Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Wi-Fi Network Card Power Management  (Read 48581 times)

0 Members and 1 Guest are viewing this topic.

rjbinney

    Topic Starter


    Adviser
  • Disarmingly Good-looking
  • Experience: Familiar
  • OS: Windows 11
Wi-Fi Network Card Power Management
« on: October 18, 2019, 05:02:10 PM »
Dear Internet:

I have a new PC, and it seems to drop its Wi-Fi connection when left unattended. My Power Settings are "Always On" when plugged in.

I found several sources online that suggested to turn off "Allow the computer to turn off this device" in "Power Management" on my network adapter's "Power Management" tab in Properties.

Trouble is, I CANT FIND THAT TAB (see picture).

Need some help!

Thanks,
Dan: You're gonna need to get someone to fix my computer.                     Kim: What's wrong with it?                     Dan: It's in several pieces on my floor.

patio

  • Moderator


  • Genius
  • Maud' Dib
  • Thanked: 1769
    • Yes
  • Experience: Beginner
  • OS: Windows 7
Re: Wi-Fi Network Card Power Management
« Reply #1 on: October 18, 2019, 05:16:19 PM »
Advanced
" Anyone who goes to a psychiatrist should have his head examined. "

rjbinney

    Topic Starter


    Adviser
  • Disarmingly Good-looking
  • Experience: Familiar
  • OS: Windows 11
Re: Wi-Fi Network Card Power Management
« Reply #2 on: October 18, 2019, 06:18:09 PM »
Advanced:
Dan: You're gonna need to get someone to fix my computer.                     Kim: What's wrong with it?                     Dan: It's in several pieces on my floor.

patio

  • Moderator


  • Genius
  • Maud' Dib
  • Thanked: 1769
    • Yes
  • Experience: Beginner
  • OS: Windows 7
Re: Wi-Fi Network Card Power Management
« Reply #3 on: October 18, 2019, 06:27:49 PM »
I dont understand why Power Management isn't listed...what Win ver. ? ?
" Anyone who goes to a psychiatrist should have his head examined. "

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Wi-Fi Network Card Power Management
« Reply #4 on: October 18, 2019, 06:37:22 PM »
Try viewing the properties of your wireless adapter from Device Manager. There should be a Power Management tab. it's possible it does not show if you are using some other method to view the properties.

I've found references claiming the Power Management is, for some reason, tied to a registry key setting:

Quote
Open RegEdit and move to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power

If it's not created yet, you have to create a new DWORD key named CsEnabled and set the value to 0.

I find I have that value, however it is set to 1 and I can see the power management tab on my laptop's Wifi adapter. It may depend on driver support as well.
I was trying to dereference Null Pointers before it was cool.

rjbinney

    Topic Starter


    Adviser
  • Disarmingly Good-looking
  • Experience: Familiar
  • OS: Windows 11
Re: Wi-Fi Network Card Power Management
« Reply #5 on: October 18, 2019, 06:38:04 PM »
I don't understand either!  Why I'm postin'!

It's Win 10 Pro V1903 OS Build 18362.418
Dan: You're gonna need to get someone to fix my computer.                     Kim: What's wrong with it?                     Dan: It's in several pieces on my floor.

rjbinney

    Topic Starter


    Adviser
  • Disarmingly Good-looking
  • Experience: Familiar
  • OS: Windows 11
Re: Wi-Fi Network Card Power Management
« Reply #6 on: October 18, 2019, 06:39:59 PM »
Try viewing the properties of your wireless adapter from Device Manager.
That was my first move.

I went to that reg key, it was set to 1, as well. Just set to 0. Will let you know after reboot.

Thanks
Dan: You're gonna need to get someone to fix my computer.                     Kim: What's wrong with it?                     Dan: It's in several pieces on my floor.

rjbinney

    Topic Starter


    Adviser
  • Disarmingly Good-looking
  • Experience: Familiar
  • OS: Windows 11
Re: Wi-Fi Network Card Power Management
« Reply #7 on: October 18, 2019, 07:02:20 PM »
That did it, BC_Programmer. Thanks.

Now, though - and I don't know if this is connected, but this is the first I'm noticing it - my "Edit Plan Settings" screen in Control Panel ONLY allows me to change when my display turns off, NOT when my machine goes to sleep (or whatever the second set of drop downs is).

Hm.
Dan: You're gonna need to get someone to fix my computer.                     Kim: What's wrong with it?                     Dan: It's in several pieces on my floor.

patio

  • Moderator


  • Genius
  • Maud' Dib
  • Thanked: 1769
    • Yes
  • Experience: Beginner
  • OS: Windows 7
Re: Wi-Fi Network Card Power Management
« Reply #8 on: October 18, 2019, 07:05:34 PM »
Leave Win power settings alone and manage it yerself...they are worthless.
" Anyone who goes to a psychiatrist should have his head examined. "

rjbinney

    Topic Starter


    Adviser
  • Disarmingly Good-looking
  • Experience: Familiar
  • OS: Windows 11
Re: Wi-Fi Network Card Power Management
« Reply #9 on: October 18, 2019, 07:09:30 PM »
OK, tell me more - how do I do that? (Is that the "advanced power options"?)
Dan: You're gonna need to get someone to fix my computer.                     Kim: What's wrong with it?                     Dan: It's in several pieces on my floor.

rjbinney

    Topic Starter


    Adviser
  • Disarmingly Good-looking
  • Experience: Familiar
  • OS: Windows 11
Re: Wi-Fi Network Card Power Management
« Reply #10 on: November 06, 2019, 08:20:14 PM »
OK, today I realized when I closed my laptop lid on battery, it didn't go to sleep.

So I Googled all the solutions, and found if I set
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power , CsEnabled to 0, it would allow me to Sleep.

And, viola, it did.

Then I noticed that my PC was dropping its network connection whilst I was away.

So I came back to this thread.

Which... Wait for it....

Well, you know what it says. It says to go to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power and set CsEnabled to 1.

Surely there's a way for my new PC to do what every other PC I've ever had did... Be able to go to Sleep when on Battery, but stay connected to the Interwebs when on AC Power....

Argh.
Dan: You're gonna need to get someone to fix my computer.                     Kim: What's wrong with it?                     Dan: It's in several pieces on my floor.

rjbinney

    Topic Starter


    Adviser
  • Disarmingly Good-looking
  • Experience: Familiar
  • OS: Windows 11
Re: Wi-Fi Network Card Power Management
« Reply #11 on: November 06, 2019, 09:34:18 PM »
I may be learning something!

I found this page, which shows how to edit the registry to force "Allow the computer to turn off this device" to be unchecked, even if it doesn't appear on the card's Properties.

The post says that my Network Card should be Device Number 0001, and there should be a PnPCapabilities value of "24".

Turns out, my Network Card is Device Number 0002, and it does have a PnPCapabilities value of "24".

BUT.

But, my VPN shows as Device Number 0001, and does NOT have any "PnPCapabilities" listed.

And, turns out, the last two times my network's dropped, I've been tunneling through my VPN.

So.

SO.

So, I am creating the value, and keeping my CsEnabled at 0, so I have "Sleep" options in Power Settings, and we'll see what happens.

(The network card is a Marvell AVASTAR, and some Googling shows a recent update fudged everything up. As this is a new machine, I don't have previous drivers to roll to, but if this solves my problem, awesome. Besides, I'm more of a DC guy.)

Dan: You're gonna need to get someone to fix my computer.                     Kim: What's wrong with it?                     Dan: It's in several pieces on my floor.

rjbinney

    Topic Starter


    Adviser
  • Disarmingly Good-looking
  • Experience: Familiar
  • OS: Windows 11
Re: Wi-Fi Network Card Power Management
« Reply #12 on: November 11, 2019, 09:39:29 AM »
OK, feeling a little bipolar on this subject.

I have my 0001 and 0002 (What appears to be my VPN and network card, respectively) both set to PNPCapabilities, Value Data = 18. So it reads 0x00000018 (24) for REG_DWORD.

This is at Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e972-e325-11ce-bfc1-08002be10318}

I noticed last night that, when connected to the VPN, the signal drops. (I don't know how long after leaving unattended; i just know overnight downloads and emails didn't go out when connected; and when i came back to my laptop, the VPN was disconnected and my network indicator in system tray showed no connections).

Just to confirm my thinking, I want to set this so that "will prevent Windows 7 from turning off the network adapter or let the network adapter wake the computer from standby", yes?

And to recap, the dilemma appears to be: My network card does NOT have any "power management" options listed on its driver. If I override the settings in the Power section of the registry, I lose the ability to Sleep. And vice versa - if I fix the Sleep, my network drops when my machine is unattended.

Any thoughts?

(BTW, the page I learnt this from: https://support.microsoft.com/en-us/help/2740020/information-about-power-management-setting-on-a-network-adapter)
Dan: You're gonna need to get someone to fix my computer.                     Kim: What's wrong with it?                     Dan: It's in several pieces on my floor.

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Wi-Fi Network Card Power Management
« Reply #13 on: November 11, 2019, 10:38:18 AM »
Disregarding driver options for a moment, have you checked the power plan settings? (Power and Sleep Settings->Additional Power Settings-> select one of the plans and choose "Change Plan settings" (this is where the drop down you mentioned- and a second set you don't see for some reason- appear). From there "Change advanced Power settings" should give you something like this (Apologies about the ridiculous proportions- my laptop has a rather ridiculously high 2880x1620 screen resolution):



"Wireless Adapter Settings" is probably the one worth investigating. My laptop doesn't drop the wireless connection while plugged in. (it does when on battery but only because it goes to sleep)
I was trying to dereference Null Pointers before it was cool.

Lisa_maree



    Mentor
  • My first real computer
  • Thanked: 161
    • Yes
  • Experience: Expert
  • OS: Windows 10
Re: Wi-Fi Network Card Power Management
« Reply #14 on: November 11, 2019, 01:15:01 PM »
Hi
Seems you have isolated the problem to only when you are working thru a VPN. Which suggests it is a VPN timing out problem, not a wireless power setting.
To confirm can you plug your laptop in with a network cable instead of wireless. Or set your email client to check your email every 5 minutes to keep internet traffic regular and see if the wireless stays connected.
You don't say how the laptop is connecting to the internet like is it 4g thru a cellphone hot spot maybe.
 
You have not lived today until you have done something for someone who can never repay you.”
― John Bunyan