Hack power bank to get remaining charge

Those you may be able to hack into.

Get one; open it up; see what you find. Or check the data sheet that comes with it, if the manufacturer offers a ready interface over the USB for this data they'll no doubt have it documented there.