-
Notifications
You must be signed in to change notification settings - Fork 73
Battery level in ev3dev #73
Comments
I am not sure if this bash script is current due to the changing |
Thank you, |
I see that the script is no longer up to date and not yet compatible with the strech image I run.
Maybe this exact directory name is not available on your level of ev3dev.
In the At the moment my EV3 reports with
Would not be too dufficult for some savvy python programmer to use that info. What made you conclude that checkpower script is not fit for the ev3 rechargable battery? |
I had gone through the root file but in first root I cant go further on battery at platform itself it shows an error that |
As suggested above, you may try to find the
At the moment I do not have access to my EV3 brick due to bad sd-card. |
Thank you @BertLindeman Here I can able to get the battery voltage at /sys/devices/platform/legoev3-battery/power_supply/legoev3-battery$ and now I would like to display the value of the battery level from the above root folder.... could you please help me.. |
Sure ;-) The fields as they are now on my ev3-brick running ev3dev at a stretch image:
The field you want is
As you see you need to divide by a million. |
yeah thanks here I can able to read the voltage by doing but what I need is, the code to print the value of the battery voltage. which I get in those root folder to screen. but I cant able to get the value from the root folder. |
Sorry, I do not use the EV3 screen, too smal for me. Maybe the examples on this web page can help |
yeah, But my exact requirement is the python code to get the value from the root folder continuously |
Dear friends,
here I am doing a project on ev3 in which I had flashed ev3dev. Now I would like to monitor the battery level of my brick any one can please help me to face this situation
The text was updated successfully, but these errors were encountered: