Text this: Revealing how internal sensors in a smart battery impact the local graphite lithiation mechanism