EdgeTX / edgetx

EdgeTX is the cutting edge open source firmware for your R/C radio
https://edgetx.org
GNU General Public License v2.0
1.58k stars 337 forks source link

NV14/EL18/PL18/PL18EV/NB4+ - Rework battery charging and monitoring function #2794

Open richardclli opened 1 year ago

richardclli commented 1 year ago

Is there an existing issue for this feature request?

Is your feature request related to a problem?

These radios supports battery charging via USB/Wireless: NV14/EL18/PL18/PL18EV/NB4+

However the battery charging handling is not nice enough, it should have all the features that a normal cell phone has.

Describe the solution you'd like

  1. When the radio is off and charging is activated (wired/wireless), it should show a "Power off charging screen"
  2. Power off charging screen should show charging progress in % and will off LCD with a timeout that can be activated by screen touch/ stick movement, etc. events.
  3. When charging is deactivated in power off charging screen, (unplug USB, remove wireless charger), the radio should switch off
  4. When user press power button in Power off charging screen, the radio will switch on.
  5. When the radio is on and charging is activated, battery icon will show charging
  6. There is a function/screen that can check the current charging progress when the radio is on
  7. When charging is deactivated with radio is on, the battery icon and charging progress should show correct information that the charging is stopped.
  8. When user switch off the radio when charging is activated, the radio will show the power off charging screen.

Describe alternatives you've considered

No response

Additional context

No response

richardclli commented 1 year ago

This required PL18 merge to start. Need to push back to next version.

richardclli commented 4 months ago

@philmoz Need your help on the UI part

fxk666 commented 3 months ago

There is another bug, open source pl18 I plug in the USB to power the remote control when it shuts down, there is a high probability of entering emergency mode

richardclli commented 3 months ago

There is another bug, open source pl18 I plug in the USB to power the remote control when it shuts down, there is a high probability of entering emergency mode

I never encountered this with 2.10.x firmware, try to see if it related to USB power supply. Some computers do not have enough current to power up the charging circuit properly and cause a blackout.