... after the entity exitsand another e ntity starts, until the wakelock is released bythis other entity. Following the last-trig ger policy, the energyconsumed by the comp onent during the period ... by the tail state consuming 75mA. During the tail state, the app dis-plays the photo and sleeps for 5 seconds, during which (after3 secon ds) the FSM returns to the base state. This process is ... Researchmzh@microsoft.comAbstract Where is the energy spent inside my app? Despite the im-mense popularity of smartphone s and the fact that energy is the most crucial aspect in smar tphone programming, the answer to the...