Battery Check



Hi

I want to be able to check if the user is running on battery power and not
AC, when it reached a certain level on battery I want to know as the
application need to shut down. Does anybody know of such components?

Regards

Petrus


.