Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My offshoot rant is that it should be easier hold devices at a longevity charge.

I want some gadget that keeps my essential gear in a long-term maintenance mode. Oscillate it 20-80% or keep it at 50%, whatever is optimal.

Every time I've looked into building something like this it seems like there's no standard reporting of charge level over the wire. I would waste a genie wish on this to have it in the USB spec and widely adopted.





> it seems like there's no standard reporting of charge level over the wire

Isn't that the "Battery_Status" message in the USB PD spec? Page 152 in this pdf: https://e2e.ti.com/cfs-file/__key/communityserver-discussion...

Combine that with the "Battery_Capabilities" message (page 163) to get the total capacity, and you can calculate the charge percentage.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: