Fiber-based generator for wearable electronics and mobile medication.