realKarthikNair / EPP-systemd

Systemd service to change EPP based on charging state and battery capacity
2 stars 0 forks source link

Do not hardcode "BAT1" #7

Closed realKarthikNair closed 3 months ago

realKarthikNair commented 3 months ago

https://github.com/realKarthikNair/EPP-systemd/blob/a2cd0280ff31dfdae1916e1753b8cd9577564827/set_cpu_performance.sh#L19-L20

realKarthikNair commented 3 months ago

Some systems have it BAT0, BAT2 and so on. I will fix it.