Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 227d4746 authored by Nicholas Troast's avatar Nicholas Troast
Browse files

power: pmic-voter: make debug status more parsable



The status debug property lists all of the voters, their enable and
value status, and the effective result. Currently the status is
presented on multiple lines which is difficult to parse. Change the
format to be more parsable.

Print each voter in the following format:
VOTABLE: CLIENT: en=1 v=1000

Print a single summary line at the end in the following format:
VOTABLE: effective=EFFECTIVE_CLIENT type=VOTABLE_TYPE v=1000

Change-Id: I0671cdd8e0911450bafe4869cb49cc48bd622a81
Signed-off-by: default avatarNicholas Troast <ntroast@codeaurora.org>
parent d98d9ee8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment