To provide a small and light-weight writing instrument that can accurately read information written down on a display portion as electronic information. A pen-shaped device which includes a battery capable of being charged wirelessly from the outside, a first sensor which detects whether a pen nib has contact with a surface, a second sensor which detects movement of the pen nib in contact with the surface, a control circuit which is electrically connected to the first sensor and the second sensor, and a memory which is electrically connected to the control circuit, where the first sensor, the second sensor, the control circuit, and the memory operate by supply of electric power from the battery.