The refresh method was removed in UPower version 0.99.18 for regular usage (available in debug mode only).
postmarketOS aports
Helpful resources:
Description
Languages
Shell
97%
Python
2%
C
0.5%
Batchfile
0.4%