The EH-7P is a charging AC adapter that is used to charge the EN-EL15b rechargeable Lithium-ion battery while it is in the camera’s battery compartment and the camera is connected to the charger.
The EH-7P cannot be used to charge an EN-EL15 or EN-EL15a Li-ion battery. Those batteries must use the MH-25a battery charger.
While connected to the EH-7P Charging AC Adapter, if the camera is switched on, it will operate under battery power only.