le_pm_interface.h
Go to the documentation of this file.
19 * media stream) result in high interrupt rates; keeping the system awake results in better performance24 * released, the system may enter a suspend state depending on the status of other (unrelated) wakeup42 * Power Manager's clients call @c le_pm_NewWakeupSource() to create a wakeup source. This function79 //--------------------------------------------------------------------------------------------------82 * Connect the current client thread to the service providing this API. Block until the service is86 * called before any other functions in this API. Normally, ConnectService is automatically called91 //--------------------------------------------------------------------------------------------------97 //--------------------------------------------------------------------------------------------------100 * Try to connect the current client thread to the service providing this API. Return with an error103 * For each thread that wants to use this API, either ConnectService or TryConnectService must be104 * called before any other functions in this API. Normally, ConnectService is automatically called111 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.112 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).115 //--------------------------------------------------------------------------------------------------121 //--------------------------------------------------------------------------------------------------127 * longer a connection to the service, and the functions in this API can't be used. For details, see132 //--------------------------------------------------------------------------------------------------139 //--------------------------------------------------------------------------------------------------143 //--------------------------------------------------------------------------------------------------147 //--------------------------------------------------------------------------------------------------151 //--------------------------------------------------------------------------------------------------155 //--------------------------------------------------------------------------------------------------159 //--------------------------------------------------------------------------------------------------163 //--------------------------------------------------------------------------------------------------167 //--------------------------------------------------------------------------------------------------170 //--------------------------------------------------------------------------------------------------179 //--------------------------------------------------------------------------------------------------189 //--------------------------------------------------------------------------------------------------194 //--------------------------------------------------------------------------------------------------201 //--------------------------------------------------------------------------------------------------206 //--------------------------------------------------------------------------------------------------void le_pm_DisconnectService(void)void le_pm_ConnectService(void)void le_pm_StayAwake(le_pm_WakeupSourceRef_t wsRef)void le_pm_Relax(le_pm_WakeupSourceRef_t wsRef)le_result_t le_pm_TryConnectService(void)struct le_pm_WakeupSource * le_pm_WakeupSourceRef_tDefinition: le_pm_interface.h:168le_pm_WakeupSourceRef_t le_pm_NewWakeupSource(uint32_t createOpts, const char *wsTag)