Share via


SystemInfo.BackupBatteryFlag Property

Gets or sets a byte that represents the charge status of the backup battery.

Namespace:  Microsoft.SmartDevice.Connectivity
Assembly:  Microsoft.SmartDevice.Connectivity (in Microsoft.SmartDevice.Connectivity.dll)

Syntax

'Declaration
Public Property BackupBatteryFlag As Byte
'Usage
Dim instance As SystemInfo 
Dim value As Byte 

value = instance.BackupBatteryFlag

instance.BackupBatteryFlag = value
public byte BackupBatteryFlag { get; set; }
public:
property unsigned char BackupBatteryFlag {
    unsigned char get ();
    void set (unsigned char value);
}
public function get BackupBatteryFlag () : byte 
public function set BackupBatteryFlag (value : byte)

Property Value

Type: System.Byte
Backup battery charge status. It can be a combination of the following values:

Value

Description

1

High

2

Low

4

Critical

8

Charging

128

No battery

255

Unknown status

All other values are reserved.

.NET Framework Security

See Also

Reference

SystemInfo Class

SystemInfo Members

Microsoft.SmartDevice.Connectivity Namespace