Giter VIP home page Giter VIP logo

onofricamila / battery-full-notification Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hg8/battery-full-notification

0.0 1.0 0.0 11 KB

A simple bash script to display a notification when your notebook battery is almost full, and when its level is running under 35%, since many experts say li-on batteries are 'happier' in the range of ~30-80%. It works in Linux Ubuntu.

Home Page: https://news.ycombinator.com/item?id=9487903

Shell 100.00%

battery-full-notification's Introduction

Plug/unplug laptop charger notification

A simple script to display a notification when your battery is almost full and when it needs to be charged according to some experts recommendation to mantain its level in the range of ~30/80%. It works in Ubuntu.

preview

Installation :

  1. Install acpi package :

     sudo apt-get install acpi
    
  2. Clone this repo :

     git clone https://github.com/onofricamila/battery-full-notification.git
    
  3. Add the batteryfull.sh script as a startup application (Open Dash and search for Startup Applications) and complete fields as follows:

    • Name: Plug/unplug laptop charger notification
    • Command: full path to batteryfull.sh
    • Description: Simple script to make it easy to keep your laptop battery between 30% n 80%
  4. Done!


Battery icon credit to DreamStale.

battery-full-notification's People

Contributors

onofricamila avatar hg8 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.