It might be best to use an older secondary device for this since it could have a negative impact on the battery.
My 2019 MacBook Pro has a new issue where the battery indicator status shows as "Power Adapter" when not connected to a charger and it cannot be charged until the computer is completely drained and does a full restart.