On Fri, 29 Aug 2014, Frank Praznik wrote:

> Bit 3 in byte 31 of the Sixaxis report indicates whether the battery is
> charging or not charging as opposed to whether or not the cable is plugged in.
> As a result, when connected via USB and fully charged, the power_supply status
> is wrongly reported as 'Discharging' instead of 'Full'.
> 
> Use the battery level value to set the cable state so that the power status
> is reported correctly as that seems to be the only reliable way to determine 
> the
> cable status on the Sixaxis.
> 
> Signed-off-by: Frank Praznik <[email protected]>

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to