Skip to content

CyberShadow7/BatteryMonitoringApp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BatteryMonitoringApp

Ever wonered why your batteries last only so long?

Battery manufacturers argue that our charging habits are the main reason our batteries lose their capacity so quickly, and often display a wrong percentage that usually drops rapidly in just a couple of seconds.

Although some of the above symptoms are signs of bad battery manufacturing, it is important to adopt better charging habbits to extend the life of our batteries as much as possible and avoid issues like laggy interfaces, overheating and generally reduced performance that could be caused by an 'unhealthy' battery.

This app was made to help people monitor the charging process of their batteries, and notify them when to unplug them, keeping both the optimal charge level at all times for them to maintain their battery's longevity and BMS calibrated.

HOW TO USE:

  1. The app requires to be manually launched by the user. A version that allows automatic initiation and monitoring at the start of Windows is also considered for a future update.

  2. Once the app is launched, the user is presented the app's GUI, which displays some parameters of their device, collected by the psutil library in Python 3.
    The user is displayed:

    In the top section:

    • The current level of charge of their machine.
    • A suggested percentage to charge to.
    • A slider pre-defined at the optimal percentage position.

    Users are free to change their desired charging percentage -indicated by the position of the slider- at any time before they start the monitoring process, overwriting the initial position of the slider, although this is not suggested.
    IMPORTANT: The desired charging percentage is the percentage where the monitoring of the charging is terminated, not where the charging is actually terminated, as this requires to physically unplug the device

    In the middle section:

    Their desired way of getting notified when the charging reaches the set desired percentage. This section consists of two checkboxes:
    • "Play Custom Tune" checkbox
    • "Show Popup Notification" checkbox

    NOTE: To re-enable the 'Play Custom Tune' option, the user must first browse for a ".wav" file to be played when the monitoring detects their desired level of charge has been reached.

    To play a custom tune, the user needs to check the "Play Custom Tune" checkbox after it is enabled.
    It is not enough to just browse for a tune to play.
    The "Show Popup Notification" checkbox will generate a popup to notify the user when the battery reaches the pre-set desired percentage.

    In the bottom section:

    • A "Browse Tune" button that allows the user to browse for the tune they want their machine to play when the charging reaches their desired pre-set percentage
    • A "Selected Tune:" label that is set to "None". If a tune is selected to be played when the charging level reaches the pre-set desired percentage, the "None" label will be replaced with the filename of the loaded tune
    • An "Enable Monitoring" button that initiates the charging monitoring process
    • A "Disable Monitoring" button that stops the monitoring process and resets the interface

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%