Skip to content
Snippets Groups Projects

Battery Voltage

Merged rahix requested to merge rahix/batt into master
All threads resolved!

Readout/monitor battery voltage and turn off in case it gets too low. Also make the voltage available via API.

Partly implements #34.

Edited by rahix

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Author Owner

    @schneider, if you have a few minutes tomorrow (today?) in the morning, could you take a quick look whether this is a good battery protection implementation?

  • schneider
  • schneider
  • rahix added 4 commits

    added 4 commits

    • 62e1de55 - feat(pmic): Implement AMUX reading
    • 013a74a6 - feat(epicardium): Periodically check the battery voltage
    • 2967a5be - feat(pmic): Add API-call to read battery voltage
    • 30e1c22d - feat(pmic): Switch off if battery is low

    Compare with previous version

  • Looks good to me! Thanks for keeping our codebase clean.

    However, I'm only a bot - so a human will still have to approve this request.

  • rahix added 1 commit

    added 1 commit

    • 3da1342c - feat(pmic): Switch off if battery is low

    Compare with previous version

  • Martin Ling added 5 commits

    added 5 commits

    • 5e5c7a4f - 1 commit from branch master
    • 647fe9c6 - feat(pmic): Implement AMUX reading
    • 1ffb7e6c - feat(epicardium): Periodically check the battery voltage
    • 73a5153f - feat(pmic): Add API-call to read battery voltage
    • dc972d86 - feat(pmic): Switch off if battery is low

    Compare with previous version

  • rahix added 5 commits

    added 5 commits

    • 8aa8c31f - 1 commit from branch master
    • 543a37e8 - feat(pmic): Implement AMUX reading
    • 63b07899 - feat(epicardium): Periodically check the battery voltage
    • 8729a6a4 - feat(pmic): Add API-call to read battery voltage
    • 313b3be3 - feat(pmic): Switch off if battery is low

    Compare with previous version

  • rahix added 19 commits

    added 19 commits

    • 313b3be3...c7f59d3e - 15 commits from branch master
    • 5e55f909 - feat(pmic): Implement AMUX reading
    • 8630e4a4 - feat(epicardium): Periodically check the battery voltage
    • 941bba34 - feat(pmic): Add API-call to read battery voltage
    • 31620ca6 - feat(pmic): Switch off if battery is low

    Compare with previous version

  • schneider added 5 commits

    added 5 commits

    • 8c59935e - 1 commit from branch master
    • 5da9e074 - feat(pmic): Implement AMUX reading
    • 79e2fb15 - feat(epicardium): Periodically check the battery voltage
    • 46ef3985 - feat(pmic): Add API-call to read battery voltage
    • e0824843 - feat(pmic): Switch off if battery is low

    Compare with previous version

  • schneider resolved all threads

    resolved all threads

  • Only thing is that a continuous read of the battery voltage from Python can block the light sensor. Should not be a problem though.

  • merged

  • Please register or sign in to reply
    Loading