awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
actuallymentor avatar

actuallymentor/battery

0
View on GitHub↗
6,676 stars·265 forks·Shell·mit·18 views

Battery

Battery is a command-line and graphical utility for macOS that manages battery charging behavior to prolong battery lifespan. It functions as a charge limiter, allowing users to set a maximum charge threshold—typically 80%—and maintain that limit across reboots and even when the application is closed. The tool also includes a battery sensor calibration feature that discharges the battery to a low level and then fully recharges it to restore accurate capacity reporting.

The project distinguishes itself by offering both a CLI and a GUI for controlling charging behavior, supporting custom percentage targets and manual toggling of the charging circuit regardless of whether the power adapter is connected. It can maintain battery charge within a user-specified percentage range by automatically stopping and resuming charging, and it can drain the battery to a target level by blocking power input from the adapter. Settings persist across system restarts through a state file, ensuring consistent battery protection policies.

Battery provides real-time monitoring of power adapter events through ACPI netlink hooks, adjusting charging behavior in response to plug/unplug events. It runs as a background service managed by systemd, with command-line tools communicating with the daemon via Unix domain sockets or D-Bus. The tool also displays current SMC status, charge percentage, and estimated time remaining.

Features

  • Charge Limiters - Limits battery charging to 80% when plugged in to prolong battery lifespan, even after rebooting.
  • CLI and GUI Battery Managers - Provides both a command-line and graphical interface for controlling battery charging limits and behavior.
  • ACPI Parsers - Monitors power adapter plug/unplug events via ACPI netlink to adjust charging behavior in real time.
  • ACPI Netlink Event Hooks - Monitors power adapter plug/unplug events via ACPI netlink to adjust charging behavior in real time.
  • Embedded Controller Charge Controls - Interacts with the embedded controller to manage battery charging hardware at the kernel level.
  • Range-Based Charge Maintainers - Keeps the battery charge within a user-specified percentage range by automatically stopping and resuming charging.
  • Laptop Battery Managers - Keeps the battery charge within a user-specified percentage range to prolong its lifespan.
  • macOS Battery Managers - Manages battery charge thresholds and charging behavior specifically on Apple Silicon and Intel Macs.
  • Battery Sensor Calibrators - Recalibrates the battery sensor by fully discharging and recharging to restore accurate capacity reporting.
  • Systemd Services - Runs as a background service managed by systemd to enforce charge policies across reboots.
  • Battery Power Optimization - Blocks power input from the adapter until the battery drains to a user-specified percentage.
  • Filesystem Polling - Periodically reads battery percentage from the sysfs filesystem to detect charge level changes.
  • Boot-Persistent State Persisters - Stores charge limit and mode settings in a file that survives reboots and application restarts.
  • Graphical Charge Managers - Ships a graphical interface to adjust battery charging limits without requiring command-line usage.
  • Manual Charge Overrides - Ships a manual override to immediately enable or disable charging regardless of the automatic schedule.
  • Persistent - Keeps the 80% charge limit active after system restarts and even when the tray app is closed.
  • Persistent Charge Configurations - Preserves configured charge limits across system restarts and even when the tray application is closed.
  • Target Charge Level Chargers - Charges the battery to a target percentage and then stops charging automatically.
  • Battery Calibrators - Discharges and recharges the battery to restore accurate capacity reporting.
  • Battery Dischargers - Blocks power input from the adapter until the battery drains to a user-defined percentage.
  • Sysfs Polling Monitors - Periodically reads battery percentage from sysfs to detect charge level changes and trigger actions.

Star history

Star history chart for actuallymentor/batteryStar history chart for actuallymentor/battery

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does actuallymentor/battery do?

Battery is a command-line and graphical utility for macOS that manages battery charging behavior to prolong battery lifespan. It functions as a charge limiter, allowing users to set a maximum charge threshold—typically 80%—and maintain that limit across reboots and even when the application is closed. The tool also includes a battery sensor calibration feature that discharges the battery to a low level and then fully recharges it to restore accurate capacity reporting.

What are the main features of actuallymentor/battery?

The main features of actuallymentor/battery are: Charge Limiters, CLI and GUI Battery Managers, ACPI Parsers, ACPI Netlink Event Hooks, Embedded Controller Charge Controls, Range-Based Charge Maintainers, Laptop Battery Managers, macOS Battery Managers.

What are some open-source alternatives to actuallymentor/battery?

Open-source alternatives to actuallymentor/battery include: apphousekitchen/aldente-charge-limiter — AlDente is a power management utility for macOS designed to protect battery health and extend hardware longevity. It… apphousekitchen/aldente-battery_care_and_monitoring — AlDente is a macOS battery management tool that enforces user-defined charge limits to extend battery lifespan. It… seerge/g-helper — G-helper is a system utility designed for the management and optimization of ASUS laptop hardware. It functions as a… caelestia-dots/shell — This project is a QML desktop shell designed for desktop environment orchestration and interface customization. It… bartoszcichecki/lenovolegiontoolkit — LenovoLegionToolkit is a hardware management tool and Windows hardware control interface designed specifically for… ublue-os/bazzite — Bazzite is an immutable, atomic-image-based operating system designed for gaming performance and handheld hardware. It…

Open-source alternatives to Battery

Similar open-source projects, ranked by how many features they share with Battery.
  • apphousekitchen/aldente-charge-limiterAppHouseKitchen avatar

    AppHouseKitchen/AlDente-Charge-Limiter

    9,088View on GitHub↗

    AlDente is a power management utility for macOS designed to protect battery health and extend hardware longevity. It functions as a battery charge limiter that restricts the maximum charging percentage to reduce long-term wear caused by keeping a device at full capacity. The tool provides a menu bar interface for real-time monitoring and configuration of charging limits. It includes capabilities for maintaining a specific charge range, forcing manual battery discharge while plugged into power, and thermal battery protection that adjusts charging behavior based on device temperature. Addition

    Swift
    View on GitHub↗9,088
  • apphousekitchen/aldente-battery_care_and_monitoringAppHouseKitchen avatar

    AppHouseKitchen/AlDente-Battery_Care_and_Monitoring

    9,081View on GitHub↗

    AlDente is a macOS battery management tool that enforces user-defined charge limits to extend battery lifespan. It operates through a combination of event-driven monitoring, kernel-level signal interception, and launch daemon registration to automatically apply charging rules at login and maintain them across reboots. The application provides a menu bar interface for persistent, non-intrusive control over charging behavior, with features including charge limiting, discharge-to-target level, sailing mode to hold a fixed charge percentage, and scheduled calibration cycles. Temperature-triggered

    Swift
    View on GitHub↗9,081
  • seerge/g-helperseerge avatar

    seerge/g-helper

    12,235View on GitHub↗

    G-helper is a system utility designed for the management and optimization of ASUS laptop hardware. It functions as a background service that interfaces directly with kernel-level drivers and ACPI tables to provide granular control over device performance, thermal profiles, and power states. The utility distinguishes itself by offering automated firmware orchestration, which handles the retrieval and verification of manufacturer-signed updates to maintain system stability. It also provides specialized hardware control, including the ability to toggle between integrated and dedicated graphics m

    C#allyamdarmoury
    View on GitHub↗12,235
  • caelestia-dots/shellcaelestia-dots avatar

    caelestia-dots/shell

    7,592View on GitHub↗

    This project is a QML desktop shell designed for desktop environment orchestration and interface customization. It functions as a system status dashboard and a declarative user interface for managing system hardware, window metadata, and user sessions. The shell features a dynamic theme generator that extracts dominant colors from wallpapers to automatically synchronize the global visual color palette. It utilizes an inter-process communication system to orchestrate shell functions and a hierarchical JSON configuration framework to manage global and per-monitor interface layouts. The system

    QMLcaelestiadotfileshyprland
    View on GitHub↗7,592
  • See all 30 alternatives to Battery→