upower - it is a system utility that provides power and battery information and statistics
To view power and battery information $ upower --dump
To watch for and print power status changes $ upower --monitor $ upower --monitor-detail
To list all power devices $ upower --enumerate
To print version of daemon and client $ upower -v
To get the wakeup data $ upower -w
regards, T.Dhanasekar