Magnet battery charging circuit