|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Control power state of device based on battery SoC. More...
#include <zephyr/sys/slist.h>#include <zephyr/device.h>Go to the source code of this file.
Data Structures | |
| struct | soc_device_control_state |
Functions | |
| int | soc_device_control_register (struct soc_device_control_state *state) |
| Register a device to be controlled. | |
| bool | soc_device_control_unregister (struct soc_device_control_state *state) |
| Unregister a controlled device. | |
Control power state of device based on battery SoC.
SPDX-License-Identifier: FSL-1.1-ALv2
Enable and disable the power state of a device based on the reported battery state of charge percentage.