Power Manager
DPYPOWERMANAGERTOOL Linux Programmer's Manual DPYPOWERMANAGERTOOL DESCRIPTION dpypowermanagertool : Tool used for managing power usage for the system. It administers the system-wide power policy and tracks the path of power IRPs through the system. SYNOPSIS dpypowermanagertool [-h/ --help] dpypowermanagertool [-tv / --toolversion] dpypowermanagertool [-ha/ --shutdown] dpypowermanagertool [-r/ --reboot] dpypowermanagertool [-s/ --standby] dpypowermanagertool [-a/ --abort] dpypowermanagertool [-b/ --battery] dpypowermanagertool [-pe / --powerevent] dpypowermanagertool [-g/ --get] <parameter1> dpypowermanagertool [-gts/ --gettimersstate] dpypowermanagertool [-c/ --check] dpypowermanagertool [-d/ --debug] <mode> dpypowermanagertool [-t/ --timers] <value1> <value2> dpypowermanagertool [-ts/ --timersstate] <value> <value> dpypowermanagertool [-ti/ --transitionintervals] <value1> <value2> dpypowermanagertool [-peu / --powereventupdates] <mode> dpypowermanagertool [-gwt / --getwakeuptime] dpypowermanagertool [-wt / --wakeuptime] <datetime> <local_time> dpypowermanagertool [-sit / --setignitiontimeout] <minutes> dpypowermanagertool [-cit / --cancelignitiontimeout] OPTIONS -h / --help : Print help command information. -tv / --toolversion : Print tool version. -ha / --shutdown : Switch off the system. -r / --reboot : Reboot the system. -s / --standby : Sleep the system. -a / --abort : Abort the previous action. -b / --battery : Report critical battery status. -pe / --powerevent : Informs about current or last power event. -g / --get <parameter1> : Report the current power status. Description: <parameter1> : Parameter to get. Possible values are: <debug> : Provides if debug mode is enabled or not <timers> : Provides information about current standby and halt wake up timers values in minutes <transition> : Provides information about current transition (cancel and guard) intervals in seconds <ignition> : Provides current timeout in minutes to turn OBU OFF if ignition remains in OFF state -gts / --gettimersstate : Provides information about the state of the timers, if they are enabled or disabled. -c / --check : Check if power rails configuration is right or not. -d / --debug <mode> : Enable/Disable Debug mode. Description: <mode> : Debug mode. Possible values are: <0> : Disabled <1> : Enabled -t / --timers <value1> <value2> : Set the timers in minutes (2 - 1440) Description: <value1> : Minutes for standby timer. <value2> : Minutes for shutdown timer. -ts/ --timersstate <value> <value>: Enable or disable de wakeup standby and halt timers. Description: <value> : true/false enable or disable the standby timer. <value> : true/false enable or disable the halt timer. -ti / --transitionintervals <value1> <value2> : Set the transition intervals in seconds (0 - 60) Description: <value1> : Seconds for cancel time. <value2> : Seconds for guard time. -peu / --powereventupdates <mode>: Receive power events in a permanent mode. Description: <mode> : Action messages option. Possible values are: <0> : Registered in COMPLETED messages (Last message sent) <1> : Registered in STARTED messages (First notification sent) <2> : Registered in COMPLETED and STARTED messages -gwt / --getwakeuptime: Provides information about current wake up date and time. -wt / --wakeuptime: Set the wakeup date and time <datetime>: Date time info in ISO 8601:2000 standard date format (yyyy-MM-dd'T'HH:mm:ss), for example "2024-12-12T12:00:00" <local_time> : Indicates if date and time are local or UTC. Possible values are: true : local time false : UTC time -sit / --setignitiontimeout <minutes> : Sets timeout in minutes to turn OBU OFF if ignition remains in OFF state -cit / --cancelignitiontimeout : Cancels ignition OFF timeout EXAMPLES dpypowermanagertool -ha dpypowermanagertool --timers 80 80 dpypowermanagertool -peu 2 dpypowermanagertool -wt 2024-12-20T12:30:00 true dpypowermanagertool -sit 15 FILES JSON Configuration file : /mntSFS/gmvCNF/powermanager_conf.json BUGS SEE ALSO AUTHORS Deepsy Team