Power allows applications to declare their permission to enter a low power mode, and allows the end user to specify which applications have a voice in this regard.
void ltrx_power_level_application_permit_shutdown |
( |
const char * |
applicationName, |
|
|
uint32_t |
durationSeconds |
|
) |
| |
Application permits shutdown for specified time duration.
This only has effect if the application is enabled in Power configuration.
- Parameters
-
[in] | applicationName | Name of the application. |
[in] | durationSeconds | Zero value represents infinity. |
Register an application to have a voice in power control.
Registration must be done in early module initialization.
- Parameters
-
[in] | powerLevelApplication | Provides name and help for the application. |
void ltrx_power_level_application_request_full_power |
( |
const char * |
applicationName | ) |
|
Application requests full power till further notice.
This only has effect if the application is enabled in Power configuration.
- Parameters
-
[in] | applicationName | Name of the application. |