Changing the Backlight Timeout while on Battery Power Example
4/8/2010
This example shows you how to use the DeviceInformation Configuration Service Provider to change the Backlight Timeout while on battery power. In this example, the timeout is changed to 60 seconds.
Note
To use this example, you must replace the values as appropriate, and add the node as a child of the SyncBody node in an OMA DM provisioning file. For more information about the syntax of the provisioning file, see OMA DM Provisioning Files.
Code Example
<Replace>
<CmdID>3</CmdID>
<Item>
<Target><LocURI>./Vendor/MSFT/DeviceInformation/BacklightBatteryTimeout</LocURI></Target>
<Data>60</Data>
</Item>
</Replace>
Remarks
One provisioning XML file typically contains configuration information for multiple Configuration Service Providers. To use this example, you must replace the values as appropriate, and add the node as a child of the SyncBody node in an OMA DM provisioning file. For more information about the syntax of the provisioning file, see OMA DM Provisioning Files.
See Also
Reference
DeviceInformation Configuration Service Provider Examples for OMA DM
DeviceInformation Configuration Service Provider