Re: Powermanagement
What I am looking for is simple. I have a battery powered device, which now uses a switch to power it on and off. What I want is to use a pushbutton to switch in on, and the uC to switch it off. Because the software on the uC may hang, I want to be able to press the "on"-pushbutton for a few seconds, to switch the device off, also.
The device is battery powered, but is connected to a wall plug power supply, if so, I'd like to detect this by the uC and want to use the external power supply instead of the battery. Would be very nice, if the battery could be charged in the device.
In the off state the device should consume as less power as possible!
All this power management should preferably be done by a single IC - this is what I am looking for!
Thanks in advance.