Skip to content

Nieznany237/AutoHibernate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatic Hibernation

This is a simple Python application using Tkinter to automatically hibernate a Windows system after a countdown. It also includes a manual hibernation option.

Screenshot 2

Features

  • 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

Requirements

  • Windows OS (with hibernation enabled)
  • Python 3.11 or later
  • Tkinter
  • hPyT

Installation

  1. Download the source code from the repository.
  2. Make sure you have the correct version of Python installed.
  3. (Optional) Create and activate a virtual environment:
    python -m venv venv
    .\venv\Scripts\Activate.ps1
  4. Install the required packages:
    pip install -r requirements.txt
  5. Run the Python script:
    python Main.py

Usage

  • 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.

Keyboard Shortcuts

The app supports the following hardcoded keyboard shortcuts (these cannot be changed... for now):

Shortcut Action
Enter Hibernate Now
Esc Close Application

License

This project is licensed under the MIT License.

About

Automatically puts the system into hibernation after a specified period of time.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages