Optimize kernel-to-userspace battery life across CAMSS, SPI runtime PM, dwm, NeoUI, and plugins

This commit is contained in:
Luxferre committed 2026-11-01 11:56:28 +02:00
1 parent f112b6ae72
commit 456d3fbc42
61 files changed
+466 -148

No files matched your search

+1 -1
View File
@@ -1047,7 +1047,7 @@ int smallweb_run_main(int argc, char** argv) {
struct pollfd pfds[2] {};
pfds[0] = { ConnectionNumber(neo.dpy), POLLIN, 0 };
pfds[1] = { fifoFd, POLLIN, 0 };
int timeoutMs = visible ? (neoui_input_is_tap_active() ? 150 : 1000) : -1;
int timeoutMs = visible ? neoui_next_timeout_ms(-1) : -1;
::poll(pfds, (fifoFd >= 0) ? 2 : 1, timeoutMs);
}