Implanted Flexible Electronics: Set Device Lifetime with Smart Nanomaterials