An example stylus pen may include a main body including a first battery and a writing tip attached to the main body. Further, the stylus pen may include a cap removably disposed on the main body to cover the writing tip. The cap may include a second battery. Furthermore, the stylus pen may include a controller to charge the first battery from the second battery.