Good. Those APIs were awful. If your website needs to know the battery status or other such information , you need to be writing an app which I will never download.
There is a use case for that kind of API for PWA's that a user would install, e.g. fullscreen games or applications that change their behaviour if battery is low (or network is slow). But those are far and few between.