From e1de4a440fdbd59fcb168b6e75b150d2986ffa9d Mon Sep 17 00:00:00 2001 From: fadhil riyanto Date: Sun, 18 Aug 2024 10:46:34 +0700 Subject: add charging state file Signed-off-by: fadhil riyanto --- config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/config.h b/config.h index 04e636d..feddc10 100644 --- a/config.h +++ b/config.h @@ -1,5 +1,6 @@ #define LITERATION_SLEEP 1 // second #define BAT0_DIR "/sys/class/power_supply/BAT0/capacity" +#define BAT_CHARGING_STATE_0_DIR "/sys/class/power_supply/BAT0/status" #define MAX_EVENTS 1 #define DESKTOP_NAME "FadhilLinux" #define NOTIFY_SEND_PATH "/usr/bin/notify-send" -- cgit v1.2.3