Warning: Can't synchronize with repository "(default)" (No changeset 96d22ec3fa3ef6de3ea8dc0d7d398adc9aa071cf in the repository). Look in the Trac log for more information.

Ticket #480 (new enhancement)

Opened 5 years ago

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.

Note: See TracTickets for help on using tickets.