Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.