It has lost bluetooth connection with the ps3.
Get a small paper clip and get one of the long ends and on the back of the ps3 controller is a little reset controller button press it with your paper clip while the ps3 is on then connect to the ps3 wired and then un wire the controller and it should work again