GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SomeOrdinaryBro/SmartSleep: Ensure energy efficiency and security with our automated PC shutdown program. It monitors activity, starts a countdown, and shuts down when idle. No more wasted power!

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
requirements.txt
requirements.txt
 
 
shutdown.py
shutdown.py
 
 

Repository files navigation

SmartSleep

Shutdown.py is an automated PC shutdown program that monitors user activity and initiates a system shutdown when no movement or keyboard activity is detected for a specified period of time. It helps ensure energy efficiency and provides an additional layer of security for your PC.

Features

  • Monitors mouse movement and keyboard activity.
  • Starts a countdown and displays a warning before initiating the shutdown.
  • Allows cancellation of the countdown if activity is detected.
  • Retries the shutdown process in case of errors.
  • Logs error messages for troubleshooting.

Use Cases

  • Energy Efficiency: Automatically shut down your PC after a period of inactivity to conserve power and reduce electricity consumption.
  • Security: Protect your system from unauthorized access by initiating a shutdown when idle.
  • Productivity: Encourage regular breaks by setting a time limit for inactivity and prompting users to resume their work.

How to Run

  1. Make sure you have Python installed on your system.
  2. Install the required dependencies by running the following command: pip install pyautogui keyboard
  3. Download the shutdown.py file from this repository.
  4. Open a terminal or command prompt and navigate to the directory where the shutdown.py file is located.
  5. Run the program using the following command: python shutdown.py

Run on Startup (Windows)

To run the shutdown.py program automatically on startup, follow these steps:

  1. Press Win + R to open the Run dialog box.
  2. Type shell:startup and press Enter. This will open the Startup folder.
  3. Copy the shutdown.py file and paste it into the Startup folder.
  4. The program will now run every time you start your computer.

Note: The instructions for running on startup may vary for different operating systems.

About

Ensure energy efficiency and security with our automated PC shutdown program. It monitors activity, starts a countdown, and shuts down when idle. No more wasted power!

Topics

energysaversecurityshutdown-script

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.