injection current advanced
merged from BMS and recompiled