Skip to content

YuriyShevtsiv/POWER-MANAGEMENT-PRO-MAX-ULTRA

Repository files navigation

Ultra Power Manager Pro

Simple Windows system control application built with Python and Tkinter. Allows you to schedule shutdown, restart, cancel pending actions, and monitor a countdown timer via a graphical interface.


📌 Features

  • ⏱ Schedule PC shutdown with custom timer
  • 🔄 Schedule PC restart with custom timer
  • ❌ Cancel scheduled shutdown/restart
  • 📂 Open project folder directly from the app
  • 🖥 Live countdown display
  • 👤 Shows current system user and OS type

🛠 Requirements

  • Python 3.x
  • Windows OS (uses Windows shutdown command)
  • Tkinter (usually included with Python)

Check Python version:

python --version

🚀 Installation

  1. Clone the repository or download the project files.
git clone <your-repository-url>
  1. Navigate to the project folder:
cd <project-folder>
  1. Run the script:
python main.py

🧩 How It Works

The application uses:

  • tkinter for the graphical interface
  • os.system() to execute Windows shutdown commands
  • root.after() for the UI countdown timer

Shutdown Command Used

shutdown /s /t <seconds>

Restart Command Used

shutdown /r /t <seconds>

Cancel Command Used

shutdown /a

🎮 How To Use

  1. Enter the number of seconds in the input field.

  2. Choose one of the actions:

    • Вимкнути ПК — Shutdown
    • Перезавантажити — Restart
    • CKACYBATN — Cancel scheduled action
    • Відкрити папку проекту — Open project directory
  3. Confirm shutdown when prompted.

  4. Watch the countdown timer in the interface.


📁 Project Structure

project-folder/
│
├── main.py
└── README.md

⚠ Important Notes

  • ⚡ Works only on Windows.
  • ❗ Requires administrator privileges for shutdown/restart commands.
  • If a shutdown is already scheduled, use Cancel to stop it.

🔧 Possible Improvements

  • Add system tray support
  • Add sound notification before shutdown
  • Improve UI design
  • Add multilingual support
  • Package into .exe using pyinstaller

📜 License

Free to use for educational purposes.

About

Simple Windows system control application built with Python and Tkinter. Allows you to schedule shutdown, restart, cancel pending actions, and monitor a countdown timer via a graphical interface.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors