add obtaining power line status from plugin

Able to now monitor whether the status of the UPS is online, on battery, etc.