public class TiPower extends Object
Modifier and Type | Method and Description |
---|---|
static TiPower |
getInstance()
Gets the TiPower instance
|
void |
sleep()
Sleep
|
void |
standby(int timeWakeup)
Standby
|
void |
stop(int timeWakeup)
Stop
|
public static TiPower getInstance()
public void sleep() throws IOException
IOException
- If a TiPower error occurspublic void standby(int timeWakeup) throws IOException
timeWakeup
- auto wakeup delay time, unit:s,IOException
- If a TiPower error occurspublic void stop(int timeWakeup) throws IOException
timeWakeup
- auto wakeup delay time, unit:s,IOException
- If a TiPower error occurs