A breakthrough in wearable computing lets researchers change ordinary cotton and polyester into electronic textiles that can double as rechargeable batteries.