Tired of your laptop falling asleep just when you’re in the middle of a binge-watch session or lost in an article? Introducing Nap-Buster – the ultimate wake-up call for your computer!
Nap-Buster keeps your laptop alert and active by making sure it knows when you're around. No more accidental naps in the middle of your favorite shows, and no more work interruptions. Whether you're reading, watching, or just too lazy to move, Nap-Buster ensures your laptop stays awake, just like you!
- Face Detection: Using your webcam, Nap-Buster checks if you're present to stop the laptop from going to sleep.
- Idle Time Monitoring: Tracks how long your laptop has been idle and wakes it up before it goes to sleep.
- Customizable Timeout: Adjust the sleep timeout based on your laptop's settings for a personalized experience.
- Simulated Activity: If a face is detected, it simulates user activity to prevent sleep mode.
- Efficient Power Usage: The camera is activated only when necessary, reducing power consumption.
- User Privacy & Security: Notifications are sent to inform you when the camera is in use, ensuring transparency and security.
- Python: The core language for this project.
- OpenCV: For face detection and webcam access.
- Mediapipe: Used for efficient face detection in real-time.
- Plyer: For desktop notifications when checking for user presence.
For demonstartional purposes I have kept the sleep time as 20 seconds...
The gif ends abruptly cuz the laptop went into sleep :)
Your contributions are welcomed! If you'd like to add a feature, fix bugs, or improve the code, feel free to fork this repo, open an issue, or submit a pull request.
Got ideas for more features or improvements? Don’t hesitate to contribute, suggest, or just let me know how Nap-Buster has made your laptop more awake than ever before!