Can I send phone battery info by bluetooth

Hi everoyne,
I want to make circuit that stops charging phone when the battery is full or for example 85%. Is it possible to send battery information from my samsung phone by bluetooth to arduino? If so, how to do that? If you need theese informations my phone is Samsung A52 and bluetooth module is HC-05.

Getting that information from the phone and sending the information via Bluetooth is beyond the scope of this Arduino forum. Better to ask on a forum that deals with your phone and/or its operating system.

Receiving the data from the phone via a Bluetooth module is certainly possible and not difficult. An Arduino with a Bluetooth module like a HC05 connected to an Arduino serial port is pretty easy to program. How is the information to be displayed?

Battery information is a standard BLE characteristic. I think it's in the BatteryService service. You should be able to do it with an ESP32 or a BLE breakout on your arduino and connect to the service and get the BatteryLevel characteristic.

You can launch BLE service with BLE compatible board, find your phone, connect, retrieve battery characteristic.