summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorfadhil riyanto <me@fadev.org>2024-08-18 10:46:34 +0700
committerfadhil riyanto <me@fadev.org>2024-08-18 10:46:34 +0700
commite1de4a440fdbd59fcb168b6e75b150d2986ffa9d (patch)
treea870d1a0b0fbd22f5417aa34c83982611ec5401e /config.h
parent167c85b7d92557d056b3bb22987c8f0f2386e0ba (diff)
add charging state file
Signed-off-by: fadhil riyanto <me@fadev.org>
Diffstat (limited to 'config.h')
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
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"