commit 3a16c1a0cf600c6dd35041fbf9ac450d6ff7ce49 from: Caleb Stein date: Sat Aug 8 18:05:15 2026 UTC move battery timeout to battery module commit - 818ba3428c675cd065d3d6756c3c0ccb6b43bdf1 commit + 3a16c1a0cf600c6dd35041fbf9ac450d6ff7ce49 blob - 5ad180e72d57ba34465b017c24ab68c2a61fb160 blob + 54d2e265ca70d2394bf01e6e6fba8784a6eb0200 --- modules/battery.c +++ modules/battery.c @@ -62,7 +62,7 @@ signal_handler(int sig) } pid_t -start_privileged_battery_process(int *pipe_fd, const struct timespec *timeout) +start_privileged_battery_process(int *pipe_fd) { pid_t pid; int batt_pipe[2]; @@ -96,7 +96,7 @@ start_privileged_battery_process(int *pipe_fd, const s while(!should_quit) { get_battery(batt_pipe[1]); - (void)nanosleep(timeout, NULL); + (void)sleep(10); if (getppid() == 1) break; }