2011 Chevrolet Aveo shows simultaneous brake and battery lights

Why is my brake light and battery light coming on at the same time? My mechanic says theres nothing wrong with my brakes

Offhand I’d suspect a failing Body Control Module. https://moduleexperts.com/5-common-symptoms-failing-body-control-module-bcm/

The battery symbol is the charging system warning light, the alternator may be failing. Low charging system voltage can cause the brake warning lights to illuminate.