to the 4.6 branch: Treats UPS (uptype == 3) as batteries. Powerdevil still does not treats my UPS as battery but solid-hardware query 'IS Battery' works after this change. It is a start. CCBUG: 197627