YX850 module automatically instantaneously switches to alternative power source when primary is gone.
It does not necessarily have to be mains driven PSU and battery, while this (UPS like) would be most common application.
This module is agnostic to issue of charging battery
Voltage range: 5-48V
Max current: 10A