I would like to make up a battery maintainer from a phone charger (have a few from a/c-d/c type).I need a way to automatically shut off.any suggestions?