You probably need to replace the a/c adapter. It's not being identified because it is faulty. Only buy a new a/c adapter that is recommended by Sony as a genuine original equipment replacement by ordering one from Sony. Third-party ones are cheaper but may not work properly.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.