This is a simple Python application using Tkinter to automatically hibernate a Windows system after a countdown. It also includes a manual hibernation option.
- Checks if the system supports hibernation
- Displays a countdown with a progress bar
- Allows immediate hibernation via a button or keyboard shortcut (see below)
- Simple graphical interface
- Windows OS (with hibernation enabled)
- Python 3.11 or later
- Tkinter
- hPyT
- Download the source code from the repository.
- Make sure you have the correct version of Python installed.
- (Optional) Create and activate a virtual environment:
python -m venv venv .\venv\Scripts\Activate.ps1 - Install the required packages:
pip install -r requirements.txt - Run the Python script:
python Main.py
- When the application starts, a countdown to hibernation begins.
- You can manually hibernate by clicking the Hibernate Now button.
- You can close the application before hibernation using the Close Application button.
The app supports the following hardcoded keyboard shortcuts (these cannot be changed... for now):
| Shortcut | Action |
|---|---|
| Enter | Hibernate Now |
| Esc | Close Application |
This project is licensed under the MIT License.
