Battery-Health-Charging Gnome extenssion support for Linux "MrChromebox firmware"

Hello guys, I have been working with the maintainer of Battery-Health-Charging for Gnome to add support Chromebooks running coreboot to use Linux “MrChromebox firmware”

I’m testing and is working well. If you can, try to give feedback.

With love, Luís

2 Likes

Adaptive charging made easy.

1 Like

Awesome. Thank you. Would love to see this for KDE.

1 Like

Thanks. I’m a Gnome guy, IDK how close Gnome and KDE extensions are. Do you know some KDE extension that can control battery?

Hi. Well, I seem to have found something, but need to install a dependency. Not sure it will work without a modification for UEFI, but I’ll let you know. I use an Acer Spin 713-2w.

Btw soon Chromebook charge thresholds will work with standard Linux files for controlling charging, and there will be no need to run ectool commands in programs such as that GNOME extension. EC firmware feature request: battery charge limiting · Issue #420 · MrChromebox/firmware · GitHub

2 Likes

Looks like sysfs is already working with the latest firmware and Linux Kernel 6.11. Let’s wait for now.
Thanks,
Luis

1 Like

seem like that cp713-2w doesn’t support the sustainer so only idle mode work for it, but can’t set charging threshold for battery

Hello,

I doubt that IDLE mode is the one that specific extension. Even with ectool blob, in some cases you need to charge with a specific USB-C port.

If you want to take a look:
https://github.com/MrChromebox/firmware/issues/420#issuecomment-1374657154
https://github.com/maniacx/Battery-Health-Charging/issues/104
https://github.com/maniacx/Battery-Health-Charging/blob/GNOME45/devices/Chromebook.js#L9-L12

That Chromebook probably doesn’t support sustainer in its hardware. So if you want to set a threshold, you’ll need to keep checking the percentage and set to idle once it reaches a certain value (this won’t work while the Chromebook is off or sleeping obviously).

What do you mean? If a Chromebook has 2 USB-C ports, you can charge it with any USB port and charge control commands will work no matter which USB-C port you charge it with.

On mine, everything works but sometimes if my PC is turned off, and I plug on the right side, the LED stars blink yellow (If I plug on the left side and then plug on the right, everything starts working.