In the picture below, I am connecting a constant power resource and a battery to each other by a lipo charger. 

The circuit should consume power from the adapter (NOT battery) while it is available. When the electricity goes off it should consume power from the battery. 

Is this coupling correct?

[![enter image description here](https://i.stack.imgur.com/e0JoR.png)](https://i.stack.imgur.com/e0JoR.png)