Digital-Waters / WaterMonitorDevice

All the code that runs on our water monitoring devices.
0 stars 0 forks source link

As a system, I want to monitor and report the remaining battery life so that I can alert volunteers when battery levels are low. #25

Open digitalwaters-jason opened 2 months ago

digitalwaters-jason commented 2 months ago

Description:

To ensure the longevity and reliability of our water monitoring devices, the system needs to monitor the remaining battery life. This information will be used to notify volunteers when the battery levels are critically low, allowing them to take timely action to maintain the devices.

Key tasks include:

  1. Battery Monitoring Function: Develop a function that accurately measures the remaining battery life and returns a value between 1 and 100. The value will represent the battery percentage, where 100 indicates full charge and 1 indicates near depletion.
  2. Hardware Requirements: Investigate and confirm any additional hardware requirements needed to measure battery life accurately. This may involve selecting sensors or components that can interface with the Raspberry Pi.
  3. Battery Options: Research and recommend better battery options that could simplify the monitoring process and extend device operation time.

Acceptance Criteria:

digitalwaters-jason commented 4 weeks ago

As we now know our devices are completely offline while underwater until we get an external antenna going, understanding our power consumption is increasingly important. At this stage in development, we need to start tracking what our power consumption is like.

digitalwaters-jason commented 4 days ago

It looks like we'll need to pick a specific brand of USB battery that gives us the ability to determine the remaining capacity. Otherwise we'll need to experiment to figure out a solution that might work for us.