A free app for Android, by Dave Truby.
The Power Alarm application is an anti-theft security tool for your Android device. It provides a special level of security when charging your phone in public places, such as airports, hospitals, offices, etc.
If you are in a public place and your phone is charging, the application will detect the removal of the phone from the charger and it will notify you.
You can set a PIN to prevent the alarm from being triggered. The application can also be used to notify you of a power outage. You will need to be within hearing distance for this to be useful.