Auto Shutdown
Built as a personal solution to manage sleep issues similar to narcolepsy, this system utility prevents the PC from being left on indefinitely when falling asleep unexpectedly. The application is designed to be highly interactive, beautiful, and extremely lightweight, running silently in the background. It utilizes Tauri, Rust, and low level kernel APIs to orchestrate system lifecycle power states through idle timeouts and scheduled events.

About This Project
Unintentionally falling asleep due to narcolepsy like sleep issues, leaving the PC running constantly. The goal was to create a non intrusive utility that detects inactivity and automates shutdown without disrupting active usage.
Developed a silent Tauri-wrapped background daemon in Rust that monitors idle activity via Windows low level kernel hooks and runs configured power down triggers.
A highly performant, custom tailored system utility that runs with near zero resource impact, successfully managing hardware power states and securing system standby.
Systems Developer
2023
Public
Personal
Technology Stack
Project Story
Unintentionally falling asleep due to narcolepsy like sleep issues, leaving the PC running constantly. The goal was to create a non intrusive utility that detects inactivity and automates shutdown without disrupting active usage.
Developed a silent Tauri-wrapped background daemon in Rust that monitors idle activity via Windows low level kernel hooks and runs configured power down triggers.
A highly performant, custom tailored system utility that runs with near zero resource impact, successfully managing hardware power states and securing system standby.
Insights & Takeaways
Highlights
- Addresses a direct personal health challenge (narcolepsy like sleep issues).
- Implements low level kernel integration in Rust for system idle detection and power state orchestration.
- Extremely lightweight and non intrusive background execution.
Challenges
- Accessing Windows kernel APIs securely and accurately detecting user idle states without false positives.
- Optimizing background idle execution to consume negligible CPU and memory.
Lessons Learned
- Building native utilities requires deep integration with OS-specific system APIs and event loops to ensure high reliability.
Related Work
Case Study
Azkari
Lightweight desktop app that displays Azkar reminders based on time of day, built with Tauri, SolidJS, TypeScript and Rust.
Case Study
EBEC
A full stack, highly creative web platform built for the ENSIA Business & Entrepreneurship Club, complete with an administration and user management system.
Case Study
ESCC
Dynamic official website for the ENSIA Sports & Culture Club featuring club presentation, events timeline, departments overview and team showcase.