Table of contents
TOC
Collapse the table of content
Expand the table of content

Wi-Fi always on, always connected

Last Updated: 12/12/2016

Partners can modify AOAC behavior and UX for non-AOAC mode devices.

Partners can use the LowPowerSupported and AlwaysOnAlwaysConnected settings to modify AOAC behavior and UX. The device’s supported AOAC mode is determined by a combination of the chipset, IHV driver, and the LowPowerSupported setting.

  • LowPowerSupported – This setting specifies that the IHV driver partially supports AOAC. This setting must only be used if the IHV driver supports a transition from the D0 state to the D2 state and certain low power features.

  • AlwaysOnAlwaysConnected – This setting enables partners to specify whether Wi-Fi should remain on when the screen times out. By default, this setting is disabled. Partners should note that this setting does not apply to devices that support partial or full AOAC. In that case, Wi-Fi always remains on and in the lower power state when the screen is idle. Also note that this setting controls the default state of the checkbox Keep Wi-Fi on when the screen times out in the Wi-Fi > manage settings screen. This checkbox is only visible for non-AOAC mode devices.

Constraints: ImageTimeOnly for LowPowerSupported

Instructions:

  1. Create a customization answer file using the contents shown in the following code sample.

    <?xml version="1.0" encoding="utf-8" ?>  
    <ImageCustomizations xmlns="http://schemas.microsoft.com/embedded/2004/10/ImageUpdate"  
                         Name="WiFiAOAC"  
                         Description="Use to configure the Wi-Fi driver to support transition from a D0 state to a D2 state and to specify whether
                                      Wi-Fi should stay on when the screen times out."  
                         Owner=""  
                         OwnerType="OEM"> 
    
      <Static>  
    
        <!-- This setting is ImageTimeOnly. Specifies if the Wi-Fi driver supports D0 to D2 transitioning. 
             Enable this to indicate 'partial' AOAC state. 
        <Settings Path="WiFi/FirstBoot">  
          <!-- Set to 0 or 'Disabled' (to disable), or set to 1 or 'Enabled' (to enable). -->
          <Setting Name="LowPowerSupported" Value="" />  
        </Settings>  
        -->
    
        <!-- Configures the Wi-Fi radios to always stay on even after the screen times out. This applies to non-AOAC devices only.
        <Settings Path="WiFi/Config">  
          <!-- Set to 0 or 'Disabled' (to disable), or set to 1 or 'Enabled' (to enable). -->
          <Setting Name="AlwaysOnAlwaysConnected" Value="" />    
        </Settings>  
        -->
    
      </Static>
    
    </ImageCustomizations>
    
  2. Specify an Owner.

  3. To specify whether the Wi-Fi driver supports transitions from the D0 state to the D2 state and the required low power features, configure the value for LowPowerSupported to one of the following values:

    ValueDescription

    0 or 'Disabled'

    IHV driver does not support transitions from the D0 state to the D2 state and the required low power features.

    1 or 'Enabled'

    IHV driver supports transitions from the D0 state to the D2 state and the required low power features.

  4. To specify whether Wi-Fi should remain on when the screen times out, configure the value for AlwaysOnAlwaysConnected to one of the following values:

    ValueDescription

    0 or 'Disabled'

    Disables Wi-Fi from always being on when the screen times out. The Keep Wi-Fi on when the screen times out in the Settings > Wi-Fi > manage screen is turned off.

    1 or 'Enabled'

    Enables Wi-Fi to always be on by default when the screen times out. The Keep Wi-Fi on when the screen times out in the Settings > Wi-Fi > manage screen is turned on.

Testing:

  1. Flash the build containing this customization to a device that is connected to a Wi-Fi network.

  2. If your Wi-Fi driver supports a D0 to D2 state transition and you enabled LowPowerSupported, verify that the device transitions from a D0 state to a D2 state.

  3. If you have a non-AOAC device and you configured the AlwaysOnAlwaysConnected setting, verify whether Wi-Fi remains on when the screen times out. Navigate to the Wi-Fi > manage settings screen and verify that the Keep Wi-Fi on when the screen times out setting is set according to the value that you specified for AlwaysOnAlwaysConnected.

Send comments about this topic to Microsoft

© 2017 Microsoft