Skip to content
Commit 5e33f833 authored by Aaron Massey's avatar Aaron Massey Committed by Carles Cufí
Browse files

fuel_gauge: Fix sbs_gauge err to conform to API



The SBS fuel gauge driver did not return a count of the number of
properties that failed.

Fix this and add a test that verifies the sbs_gauge returns the number of
failing properties as well as a test that verifies a negative return code
if all properties failed.

Signed-off-by: default avatarAaron Massey <aaronmassey@google.com>
parent 13acbf1b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment