Notification when charging

Hello,


is possible to get notifications from an App when for exemple :

-I plugg the charger?

-I am at 100% of charge?


Is it possible then to get an action to be done from this notification ?


And, last one : is it possible to have this notification even if my app is not running ? Just like I receive push notification when I get a Whatsapp message ?


thanks for your help !

Notification when charging
 
 
Q