Most of Android users have experienced issues with the battery life. One cause of battery drainage is the usage of the Wakelocks, which keep the CPU in working mode to enable applications to perform work in the background, such as communicating with their servers or collecting GPS information. Without acquiring the Wakelocks, the application might degrade its user experience. For instance, an SNS application might receive messages from other users with delay. However, the improper usage of Wakelocks could result in poor battery life. Being aware of the behavior and the usage of Wakelocks in particular applications in real-time can help Android developers to solve the problem of improper Wakelock usage. This paper introduces a tool for fine-grain tracing of both application and kernel Wakelocks by extending the Android Systrace. This tool enables developers to have a more detailed view of their application Wakelocks as well as the system Wakelocks so that they can achieve better power optimization.