
- 303 -
AutoPowerOffBattery
Sets or acquires the automatic power-OFF time when powered by the battery.
■ Syntax
[VB]
Public Shared Property AutoPowerOffBattery As Integer
[C#]
public static int AutoPowerOffBattery {get; set;}
■ Property
Auto-power-off time (in units of 1 sec)
Parameter values
: 0 to System.Int32.MaxValue
Default value
: 180
■ Exceptions
Name of Exception Meaning
ArgumentException The specified parameter value(s) is invalid.
■ Note
If "0" is specified, the system will not be turned OFF while powered by the battery.
[Ex.] Prohibits transition to auto power off when powered by the battery.
[VB] PwrMng.Settings.AutoPowerOffBattery = 0
[C#] PwrMng.Settings.AutoPowerOffBattery = 0;
Comentarios a estos manuales