Skip to content
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

Voltage Check to validate TTL #47

Open
tangowhisky37 opened this issue Jun 6, 2016 · 2 comments
Open

Voltage Check to validate TTL #47

tangowhisky37 opened this issue Jun 6, 2016 · 2 comments

Comments

@tangowhisky37
Copy link

Folks,

Been speaking to Karan/CleoQC at the forums and realized that we are currently missing the means to generate alerts when the batteries are running low.

As Karan was mentioning when powered from batteries the gopigo binary (to be renamed such from it's current name gpg..:) ) reads 12v. This obviously comes down over a period of time as the batteries are drained. Below 7v one should consider pulling them out and replacing them.

What's the best way to alert the user of batteries that have lost all juice with a crash looming ahead. Possibly a script/daemon running in the background? A Python or shell script running in the background as a daemon checking the voltage every min and issuing an alert on the screen while generating some sort of an audible warning?

I can give the script a go. I am not very good at writing code (python or shell) but can definitely give it a go. Let me know if there's something you would like me to help with.

Cheers,
Trevor

@karan259
Copy link
Contributor

karan259 commented Jun 9, 2016

that would actually be a very interesting feature. I have seen a lot of folks posting about problems which end up being a battery issue. We would have to think a bit about how we integrate it with the image so that people don;t find it annoying. It would be great if you could do the first pass on the software. We'll try it out at our end once its done

@graykevinb
Copy link

Generating an audible warning is a great idea except the RPI lacks speakers. A applet for the lxde panel could be implemented to show how much battery is left. Just like on your laptop. However I'd your just using the terminal... The warning would have to be printed out. I'll look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants