actuallymentor / battery

CLI/GUI for managing the battery charging status for Apple silicon (M1, M32, M3) Macs
MIT License
3.88k stars 165 forks source link

1.2.2, Always ask for backwards incompatible update after re-launch the app #287

Open sunnyxiong2020 opened 4 months ago

sunnyxiong2020 commented 4 months ago

"Reverting back to 1.2.1", is the best solution currently for this issue. 1.2.1 seems to work well even with MacOS 15.1 beta

What is the issue? (required) Installed the 1.2.2, quit app by "quit" button in the drop down menu, re-launch the app in the app folder. Then the app asks for backwards update.every time

What exactly did you do to produce the issue? (required) see above description

Expected behavior (required) The backward update shall only happen once, not all the time

Screenshots (optional) If applicable, add screenshots to help explain your problem. On a Mac you can click control+command+shift+4 to create a screenshot that you can paste into this field with command+4. 1 2

Error logs If you know how a terminal works, please paste the content of battery logs here. This allows me to see potential errors on your device.

Did battery fail to install? Use tail -n 1000 ~/.battery/*/log instead.

Additional context (optional) Add any other context about the problem here.

dmatton commented 4 months ago

Same problem for me.

Chip : M2 Pro macOS : Sonoma 14.5

jparayre commented 4 months ago

Same issue, battery.log contains a suspicious line :

07/05/24-09:03:48 - Error: recover is not a valid setting for battery maintain. Please use a number between 0 and 100

Chip : M1 Max macOS : Sonoma 14.5

joern-arne commented 4 months ago

Me too.. :(

M1 Pro macOS: Sonoma 14.5

NapoelonIV commented 4 months ago

Same problem. M3, macOS 14.5

blackketter commented 4 months ago

Same problem here, m2 MacBook air. I reset the log files and relaunched, new log files are attached.

gui.log battery.log

blackketter commented 4 months ago

I should also note that when I reboot, battery is not running and so my hardware battery charges up.

NapoelonIV commented 4 months ago

I should also note that when I reboot, battery is not running and so my hardware battery charges up.

You have to add it to the startup items in settings in order for it to launch at boot.

agsola commented 4 months ago

Same problem here. Now it charges always up to 100%.

Troubadixderdritte commented 4 months ago

Same problem. I added battery to startup items... now it asks when I restart my computer. M3 Max, macOS 14.5

joern-arne commented 4 months ago

I also experience this issue.

M1 Pro, macOS 14.5

SvenRichter commented 4 months ago

same issue... this is very annoying MacBook Pro M2, MacOS 14.5

Andychengcoding commented 3 months ago

Same issue. It seems to keep trying to reach out to the setup script in this repo to keep reinstalling each time there's a login. I looked at the setup script and it's innocuous enough but yeah, there's something wrong w/ the install if each it's trying to reinstall itself. Like Troubadixderdritte, i also added this application to the startup items, and I get this issue.

The log doesn't say anything interesting but attaching since that's what i would use to debug stuff. battery.log

NapoelonIV commented 2 months ago

Just to be clear, this bug has nothing to do with booting the computer: the bug occurs when the app loads. You can trigger it just by quitting and restarting the app. Also the behaviour of the bug alternates. First it asked for a password. and it says that it needs to install a backwards incompatible update. The next time the app is quit and reloaded it just displays the message without asking for the password.

NapoelonIV commented 2 months ago

This bug was introduced in 1.2.2. You can end this problem by downgrading to 1.2.1.

fergymcferguson commented 1 month ago

bump