Repository navigation
Releases
Releases · Cimplex/BatteryStatus-Tiny-DFR
v1.1
It is always recommended to build yourself, but here you go...
Make sure to select x64 for Intel-Macs or arm64 for Apple-Silicon Macs.
Changes:
- Fixed crash when charging from 0-14%
- Fixed possible memory leak
- Added workflow to build x64 (GitHub was acting weird with Arm64, so those are built on my own machine)
Install Instructions:
- Download x64 or Arm64 from below
- Unzip to /opt/BatteryStatus by:
- (ARM64)
sudo unzip BatteryStatus-v1.1-linux-arm64.zip -d /opt/BatteryStatus
or - (X64)
sudo unzip BatteryStatus-v1.1-linux-x64.zip -d /opt/BatteryStatus
- (ARM64)
- To start BatteryStatus at boot, run:
sudo ln -s /opt/BatteryStatus/batterystatus.service /etc/systemd/system/batterystatus.servicesudo systemctl daemon-reloadsudo systemctl enable batterystatus.servicesudo systemctl start batterystatus.service
Configure tiny-dfr
-
Edit your /usr/share/tiny-dfr/config.toml to include the following:
{ Icon = "battery_status", Action = "Battery" } -
Copy the text above and run:
sudo nano /usr/share/tiny-dfr/config.toml- Go to the layer you want to show the battery on (both should be fine too)
- Paste the line (make sure you add a comma
,to the end of the previous line) - Exit nano with
Ctrl + Xthen "Y" thenEnter - Either plug/unplug your laptop to restart tiny-dfr or run
sudo service tiny-dfr restart
- If you see error text, the config syntax got messed up, look at it closely or open an issue.
Please Report Issues
I will do my best to help you!
BatteryStatus-1.0
(It is highly recommended to just build this yourself. See the Readme or create an issue)
To Install (Arm64):
- Unzip "BatteryStatus-arm64-1.0.zip" to your
/opt/folder. - Copy the batterystatus.service to systemd:
sudo cp /opt/BatteryStatus/batterystatus.service /etc/systemd/system/batterystatus.service - Enable and start BatteryStatus
sudo systemctl daemon-reload
sudo systemctl enable batterystatus.service
sudo systemctl start batterystatus.service
To Install (x64)
- Needs to be built, I don't have an x64 computer :(