Batteries often serve as the main energy source for portable electronic devices. Although they depend on batteries, portable consumer electronic products, such as GPS devices and multi-media players, often consume energy directly from an ac-dc wall adapter or accessory power adapter (or “Auto Adapter”) when the battery is low or the device is in a stationary mode. Due to their cost