Battery.GetDefault method

Applies to Windows Phone only

Gets the default Battery object for the phone.

Syntax


Public Shared Function GetDefault() As Battery

Parameters

This method has no parameters.

Return value

Type: Battery

The default Battery object for the phone.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.Devices.Power
Windows::Phone::Devices::Power [C++]

Metadata

Windows.winmd

See also

Battery

 

 

Community Additions

ADD
Show:
© 2014 Microsoft