rvuw/includes/battery.h
2024-04-03 13:40:32 +02:00

6 lines
136 B
C

#pragma once
#include <stdbool.h>
// Get the current battery level
int get_battery_level(const char *device_path, bool *is_charging);