Allow overriding charge limit and charge full#65
Conversation
57b2e98 to
c38a647
Compare
|
I've tested the branch and the behavior is somewhat different than what I've originally expected:
I expect the charge limit will be restored after the power source is disconnected after the battery capacity has reached 100%, however, it seems that to restore the charge limit settings one has to:
I would assume that the behavior I imagined might require implementation in the EC firmware as well and is out-of-scope of this project, though. |
|
Thanks for testing! I have to think about that for a bit. |
|
FWIW, the current behaviour is closer to what I'd expect: I'd be surprised if unplugging and reconnecting the power cable changed the charging behaviour. If anything, I'd have expected changing the settings to persist after a reboot as well as after reconnecting the power supply. I think this is mostly an argument for there being no obviously "correct" approach, but however it does work should be documented. |
c38a647 to
f82adae
Compare
That is the intended behavior when it was implemented on our first generation Laptop, it seems we have a regression. Currently it seems this command is not more useful than setting the charge limit to 100% |
|
We'll work on fixing it in the EC. But prioritizing current regressions on battery-extender/charg-limit. |
f82adae to
a0f1a41
Compare
Signed-off-by: Daniel Schaefer <[email protected]>
a0f1a41 to
2d43f14
Compare
--charge-fullcommand--charge-limit-disablecommand