-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added condition to check batteries for charging state #27
Conversation
…icate they are connected to power, and removed the hard block so it would only warn the user if they are about to install via battery
I may need to rethink this if statement in the code, if they are on a laptop with AC off and discharging battery they may get 2 warnings instead of 1. I need to add a boolean statement here, so if in case either condition is satisfied, the msg will show up. |
…icate they are connected to power, and removed the hard block so it would only warn the user if they are about to install via battery
no idea why VSCodium truncated the proceedInstall() line, its missing a chunk. EDIT: Fixed |
…atement for readability.
…it rill return early
I think I like it in this current form.. just not merging yet as I need some time to test it properly and that hasn't come up yet |
Added condition to check batteries for charging state which would indicate they are connected to power, and removed the hard block so it would only warn the user if they are about to install via battery