Replacing a battery by a nanogenerator with 20 V output