Skip to content

feat: Implement Caffeine Mode (Keep Awake) #15#48

Merged
Surajkumar5050 merged 9 commits intoSurajkumar5050:mainfrom
oyelurker:main
Feb 14, 2026
Merged

feat: Implement Caffeine Mode (Keep Awake) #15#48
Surajkumar5050 merged 9 commits intoSurajkumar5050:mainfrom
oyelurker:main

Conversation

@oyelurker
Copy link
Contributor

Features

Keep Awake: A background thread slightly moves the mouse every 60 seconds to reset the idle timer.

Commands: Use /caffeine on to start and /caffeine off to stop.

UI: Added "Stay Awake" ☕ and "Normal Mode" 💤 buttons.

Smart: Supports natural language (e.g., "keep my laptop awake").

Safe: Includes double-start protection and cleans up threads on exit.

Testing

✅ Manual Test: Verified screen stays ON past the 1-minute system timeout.

✅ Integration: Verified Telegram commands and NLP intents work.

image image

Closes #15

@Surajkumar5050
Copy link
Owner

@oyelurker is it ready for testing?

@oyelurker
Copy link
Contributor Author

@Surajkumar5050 try it out

@Surajkumar5050
Copy link
Owner

yes, it's working!

@Surajkumar5050 Surajkumar5050 merged commit af008e9 into Surajkumar5050:main Feb 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: "Keep Awake" Mode (Caffeine) to prevent system sleep

2 participants