PiSugar / pisugar-power-manager-rs

PiSugar Power Manger in rust language
https://www.pisugar.com/
GNU General Public License v3.0
130 stars 15 forks source link

Get battery charging status when Solar or Qi plugged [BUG] #49

Open FGMGIT opened 2 years ago

FGMGIT commented 2 years ago

Environment

To Reproduce Steps to reproduce the behavior:

  1. Connect solar input to board pads provided
  2. Power on with battery only
  3. get battery_power_plugged
  4. result: battery_power_plugged: false
  5. get battery_v
  6. result: battery_v: 2.5999992
  7. When battery is arround 4,2 volts
  8. get battery
  9. result: battery: 0

Expected behavior Get the battery data when solar panel is plugged