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

Warning about light theme for AMOLED and OLED screens

Last Updated: 12/12/2016

OEMs can choose to display a warning about battery life if the user selects the light theme on phones with AMOLED or OLED displays. This customization is not relevant for other screen types, as there is not a significant power difference between the themes with the light and dark background.

Constraints: FirstVariationOnly

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="OLEDWarning"  
                         Description="Use to display the battery life warning on phones with AMOLED or OLED displays."  
                         Owner=""  
                         OwnerType="OEM"> 
    
      <Static>  
    
        <Settings Path="Theme">  
          <Setting Name="OLEDWarning" Value="1" /> 
       </Settings>  
    
      </Static>
    
    </ImageCustomizations>
    
  2. Specify an Owner.

  3. Do not modify the Value.

Testing:

  1. Flash an image containing this customization to a phone.

  2. Go to the Colors settings screen.

  3. Set the Choose your mode option to Light.

  4. Verify that the warning text appears above the mode option.

Send comments about this topic to Microsoft

© 2017 Microsoft