Skip to content

Division by zero issue with new battery #47

@jessevallaro

Description

@jessevallaro

When running m.health() on a new battery without any usage there is a division by zero issue.

Image

My best guess is line 879 is causing the error seen in the image due to tool_time being 0

pct = round( (t/tool_time)*100 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions