Battery Life Estimation of Mobile Embedded Systems