#include <cafe/pads/wpad/wpad.h>

void WPADSetAutoSleepTime( u8 minute );


minute Represents the amount of time (in minutes) until the connection is automatically terminated if there is no input.

Return Values



Sets the timeout for the Wii U console to automatically disconnect a Wii remote with no change in the input state. To avoid unintentional battery consumption, communication with the Wii remote will be automatically terminated by the Wii U console if there has been no change in the input state of the Wii remote for a set amount of time. The library includes a timer for each Wii remote with the default timeout set to five minutes. Time already being counted internally is not reset even if the timeout value is changed using this function.

The auto-disconnect feature can be disabled by setting minute to zero.

Do Not Call From

Background Do not call this function from the background.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.
Multiple Cores Do not call this function from more than one Core.

Revision History

2013-05-08 Automated cleanup pass.
2006-10-16 Changed "non-input" to "no change in input".
2006-08-15 Initial version.