What hot failure looks like
The battery light flickers after the bike is fully warm, the bike dies in traffic and restarts after it cools, or a multimeter at the battery shows normal voltage for five minutes and then sags. Those are not the same as a battery that was simply never charged.
Connectors at the stator and regulator discolor and loosen. A connector that tests fine cold can drop voltage when the housing softens with heat.
Tests that have to happen warm
Charging voltage at the battery, stator AC output, and the regulator need to be compared to the spec for that motorcycle, at the rpm the manual calls for, once the bike is hot enough to reproduce the symptom. A cold pass does not clear the system.
A battery that has been deeply discharged by the fault may need a proper charge and load test before the charging numbers mean anything.
Parts we will not throw first
Stators and regulators are expensive and sometimes are the failed part. They are also blamed for bad grounds, fried connectors, and accessory wiring that was tied into the stator circuit. The electrical repair page is where that tracing lives.
If the bike also will not restart hot, read the no-start guide. Charging and hot-start problems overlap and are not automatically the same part.