DeviceBatteryMinutes Property |
Gets the number of battery minutes remaining in the device.
Namespace:
Atalasoft.Twain
Assembly:
Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntaxpublic int BatteryMinutes { get; }Public ReadOnly Property BatteryMinutes As Integer
Get
Property Value
Type:
Int32The number of minutes remaining or one of the following values:
-2Indicates infinite power.-1Indicates that the device cannot report the remaining battery power.
Exceptions| Exception | Condition |
|---|
| Thrown if a connection to the device is not open. |
See Also