Share via


IsRECEnabled

IsRECEnabled specifies whether clean energy charging is enabled or disabled by default in the System > Power & battery settings.

Values

1

Enable clean energy charging by default.

0

Disable clean energy charging by default.

Valid Configuration Passes

  • offlineServicing
  • specialize
  • oobeSystem

Parent Hierarchy

Microsoft-Windows-SystemSettings-SettingsHandlers-OneCore-BatterySaver | IsRECEnabled

Applies To

For a full list of the Windows editions and architectures that this component supports, see Microsoft-Windows-SystemSettings-SettingsHandlers-OneCore-BatterySaver.

XML Example

The following XML output shows how to enable clean energy charging by default.

<settings pass="specialize">
    <component name="Microsoft-Windows-SystemSettings-SettingsHandlers-OneCore-BatterySaver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <IsRECEnabled>1</IsRECEnabled>
    </component>
</settings>

The following XML output shows how to disable clean energy charging by default.

<settings pass="specialize">
    <component name="Microsoft-Windows-SystemSettings-SettingsHandlers-OneCore-BatterySaver" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <IsRECEnabled>0</IsRECEnabled>
    </component>
</settings>

Microsoft-Windows-SystemSettings-SettingsHandlers-OneCore-BatterySaver