Replies: 2 comments 3 replies
-
This is not needed, since I planned to save some values to persist after a restart/reboot, like:
|
Beta Was this translation helpful? Give feedback.
3 replies
-
For reference: #840 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been trying to implement this but my coding skills are subpar to say the least. I essentially want to prevent charging when the driver is restarted. It makes troubleshooting/fine tuning harder and needlessly charges my batteries. Right now whenever VenosOS is rebooted or you manually restart the driver the entire charging cycle starts from the top.
I propose there should be an option to tie max voltage/charging current to SOC defined by SOC_LEVEL_TO_RESET_VOLTAGE_LIMIT. So before something like "def manage_charge_voltage_linear(self) -> None:" even starts it checks to make sure the SOC is above the threshold defined by the user.
@mr-manuel where could this be implemented do you think? I've been trying to work within this def "def manage_charge_voltage_linear(self) -> None:" trying to add an if statement like "if utils.SOC_LEVEL_TO_RESET_VOLTAGE_LIMIT <= self.soc:
return"
But I'm getting weird attribute errors from daly.py that I can't track down.
Thanks for any input, really interested in this project but like I said my coding skills are a little lacking but trying to think of ways to improve and contribute to this project.
Beta Was this translation helpful? Give feedback.
All reactions