SystemInfo.BackupBatteryLifePercent Property
Gets or sets the percentage of full backup battery charge remaining.
Namespace: Microsoft.SmartDevice.Connectivity
Assembly: Microsoft.SmartDevice.Connectivity (in Microsoft.SmartDevice.Connectivity.dll)
Syntax
'Declaration
Public Property BackupBatteryLifePercent As Byte
'Usage
Dim instance As SystemInfo
Dim value As Byte
value = instance.BackupBatteryLifePercent
instance.BackupBatteryLifePercent = value
public byte BackupBatteryLifePercent { get; set; }
public:
property unsigned char BackupBatteryLifePercent {
unsigned char get ();
void set (unsigned char value);
}
public function get BackupBatteryLifePercent () : byte
public function set BackupBatteryLifePercent (value : byte)
Property Value
Type: System.Byte
The percentage of full backup battery charge remaining. This member can be a value in the range 0 to 100, or 255 if status is unknown. All other values are reserved.
Remarks
BackupBatteryLifePercent can be a value in the range 0 to 100, or 255 if status is unknown. 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.