Power Policies Application

group Power Policies Application

Manages the overall power state of the EPS based on system conditions.

This application is responsible for:

  • Monitoring system health and battery status.

  • Transitioning between different power profiles (e.g., Nominal, Safe).

  • Implementing high-level power management logic.

group Types

Structures used by the Power Policies Application.

struct power_policies_t
#include <power_policies.h>

State container for the power policies application.

Public Members

power_profile_t current_profile

The current power profile.

bool initialized

True if the application is initialized.

group Public API

Functions for managing the power policies application.

Functions

void power_policies_init(power_policies_t *app)

Initialize the power policies application.

Parameters:

app[out] The power policies application to initialize.