GalliumOS / galliumos-distro

Docs, issues, and artwork sources for GalliumOS
https://galliumos.org/
GNU General Public License v2.0
347 stars 11 forks source link

Slow charging rate on CAVE #535

Open kstenerud opened 4 years ago

kstenerud commented 4 years ago

Ever since upgrading to the latest GalliumOS (3.0) on CAVE (mrchromebox firmware, chrx installation), my chromebook only charges at slow speed (12 hours for a full charge vs 45 mins normally).

kstenerud commented 4 years ago

Turns out this is an old problem. The workaround is to unplug the device, suspend, plug in, resume. You can suspend instantly from shell by typing sudo systemctl suspend

catskul commented 4 years ago

Ping. Anyone know if there has been any progress on this? Is there any info we can provide to help figure out this problem?

vincent1703 commented 4 years ago

Accidently started a new issue and just found out this one. Figured out that installing TLP and using the command with the start argument solves the issue, without any shutdown. Will update on whether or not it fixes the issue long term. Currently charging speeds are up and adjust as the battery fills up like on chromeos.

catskul commented 4 years ago

https://github.com/GalliumOS/galliumos-distro/issues/567

catskul commented 4 years ago

Would be great to figure out how TLC manages to fix it and get that to happen without it.

PremiumUsername commented 3 years ago

It's possible to communicate with the ec controller with a tool called ectool. I suspect it would be possible to change the charge rate there. There seems to be two ectool utilites. I'm talking about the one which you use with: usage: ectool [-vh?Vidq] [-w 0x<addr> -z 0x<data>] I use manjaro which charges full speed and my ectool -d gives me:

EC RAM:

00: 02 00 ff 06 ff ff ff ff 06 00 ff ff ff ff ff ff
10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
20: 67 6a 6a 6a 6a ff ff ff ff ff ff ff ff ff ff ff
30: 00 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff
40: 45 43 01 02 01 01 01 03 00 00 00 00 00 00 00 00
50: 05 00 00 00 00 10 00 00 00 00 00 00 00 00 00 00
60: 81 1d 00 00 ce 01 00 00 47 08 00 00 06 00 00 00
70: c9 13 00 00 14 1e 00 00 12 10 00 00 24 01 00 00
80: 41 53 31 39 4d 5a 46 00 43 33 30 32 2d 35 30 00
90: 30 35 31 39 00 00 00 00 4f 54 44 30 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 85 00 93 00 31 00 05 10 91 02 8c 00 ad 0b 97 0a
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

If you can run that tool, see what is different and that's probably why it is charging more slowly.