![]() |
1.5.0.3R3
Software Development Kit |
![]() |
Data Structures | |
struct | ltrx_power_level_application |
Represents a power level application for registration. More... | |
Functions | |
void | ltrx_power_level_application_permit_shutdown (const char *applicationName, uint32_t durationSeconds) |
Application permits shutdown for specified time duration. More... | |
void | ltrx_power_level_application_register (const struct ltrx_power_level_application *powerLevelApplication) |
Register an application to have a voice in power control. More... | |
void | ltrx_power_level_application_request_full_power (const char *applicationName) |
Application requests full power till further notice. More... | |
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.
[in] | applicationName | Name of the application. |
[in] | durationSeconds | Zero value represents infinity. |
void ltrx_power_level_application_register | ( | const struct ltrx_power_level_application * | powerLevelApplication | ) |
Register an application to have a voice in power control.
Registration must be done in early module initialization.
[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.
[in] | applicationName | Name of the application. |