summaryrefslogtreecommitdiff
path: root/src/modules/battery.h
diff options
context:
space:
mode:
authorSam Light <sam@lightscale.co.uk>2025-09-10 19:37:28 +0100
committerSam Light <sam@lightscale.co.uk>2025-09-10 19:37:28 +0100
commit8101b1aa507795224054a752dd603ec3426c40ee (patch)
tree79c593f1d2a8c54f380f1d373a79f21cc5fc4a06 /src/modules/battery.h
parentd9b456d738e5013d48f41f5e6315ef7c22d6acf0 (diff)
Created better management of updates + update on SIGUSR1
Diffstat (limited to 'src/modules/battery.h')
-rw-r--r--src/modules/battery.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/battery.h b/src/modules/battery.h
index 92489b5..f358e46 100644
--- a/src/modules/battery.h
+++ b/src/modules/battery.h
@@ -2,14 +2,12 @@
#define _DWXINFO_MODULES_BATTERY_H_
#include <stdio.h>
-#include <time.h>
#define BATTERY_VALUE_SIZE 5
struct battery {
int full;
int file_current;
- time_t last_update;
char value[BATTERY_VALUE_SIZE];
};