Opened 5 years ago

#480 new enhancement

add method to get/set charge voltage

Reported by: arne.anka Owned by: mickey
Priority: minor Milestone:
Component: framework/general Version: milestone5.5
Keywords: Cc:


frameworkd should offer a set of methods to get/set the voltage currently available when charging from usb.

i got an external battery "just mobile gum pro" which apparently is not recognized and thus does not charge the fr correctly.
setting usb_curlim requires root access and is nevertheless a task, fso could very well handle.

additionally, the path below /sys/ differes between different kernel versions -- a unified call from fso would solve the confusion in userland.

since the value of the current limit is relevant for userland apps and every setter should have a getter anyway, besides setting, getting the value, too, is desirable.

Change History (0)

Note: See TracTickets for help on using tickets.