rvuw/includes/battery.h

7 lines
136 B
C
Raw Normal View History

2024-04-03 13:40:32 +02:00
#pragma once
#include <stdbool.h>
// Get the current battery level
int get_battery_level(const char *device_path, bool *is_charging);