Skip to content

JoseBritto/batman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Batman

Simple Battery Manager application for linux

This was orginally written for ASUS TUF FX505GD laptops, but it should work on any similar linux laptops.

Check if your laptop is supported

$ cat /sys/class/power_supply/BAT0/charge_control_end_threshold

If this command returns a value, then your laptop is probably supported.

⚠️ Warning: This application is not tested on other laptops.

Note: This was written for personal use, so it may not work on your laptop. Please use it at your own risk.

Build Instructions

Prerequisites

  • .NET 8.0.x SDK
$ git clone 'https://github.com/JoseBritto/batman.git'
$ cd batman
$ dotnet publish -o build

Usage

To install the systemd service

$ cd build
$ sudo ./batman install

To uninstall the systemd service

$ cd build
$ sudo ./batman uninstall

I recommend moving the batman binary to a folder in your $PATH so that you can run it from anywhere.

About

Batttery Charge Manager for Asus TUF laptops

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages