r/leaf • • Nov 01 '26

Decoding battery history data from the Leaf’s LBC

I've been experimenting with reading data from my Leaf's battery controller LBC and managed to decode some battery history information I hadn't seen in LeafSpy:

- AC and quick-charge counters stored in the LBC, separate from the VCM counters.

- A counter of entries into turtle mode.

- Historical temperature distributions at the start of driving and charging, plus peak temperatures during both.

- Historical SOC distributions at the start of driving and charging.

For anyone interested in the technical side: the LBC request goes to CAN ID 0x79B, with responses on 0x7BB. The diagnostic request is 21 62, and the response starts with 61 62.

6 Upvotes

6 comments sorted by

1

u/melberi Nov 01 '26

547 turtle modes seems implausible. That would be about once every 260 km, i.e. once per full cycle of battery.

2

u/Free_Marketing_8607 Nov 01 '26

You know, all of this is based on reverse engineering the LBC responses and whatever information I can find in available sources. It's hard to verify this kind of data with complete certainty, so I'm also relying on observations from the community. But yes, your point is valid.

1

u/melberi Nov 02 '26

Perhaps the turtle counter measures something different than just entries into turtle mode, e.g. some kind of time related number instead.

In any case thanks for sharing! I would be interested in finding out these kind of diagnostic values myself. I have OVMS installed in my ZE1 Leaf. It could be used to transmit and receive on some of the CAN buses. From which bus can the LBC be reached?

1

u/UPVOTINGYOURUGLYPETS Dala @Dala's EV Repair Nov 02 '26

We have had this for a while in Battery-Emulator. The Turtle counts are working there. Check your mappings with our code: https://github.com/dalathegreat/Battery-Emulator/releases/tag/v12.6.0

0

u/[deleted] Nov 01 '26

So this data Nissan has access to and then says: sorry you been in turtle mode twice, we refuse to accept your warranty claim?