1*4882a593Smuzhiyunconfig BR2_PACKAGE_UPOWER 2*4882a593Smuzhiyun bool "upower" 3*4882a593Smuzhiyun depends on BR2_PACKAGE_HAS_UDEV 4*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_HAS_THREADS # libgudev, libusb 5*4882a593Smuzhiyun depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb 6*4882a593Smuzhiyun depends on BR2_USE_MMU # libgudev 7*4882a593Smuzhiyun depends on BR2_USE_WCHAR # libgudev 8*4882a593Smuzhiyun select BR2_PACKAGE_LIBGUDEV 9*4882a593Smuzhiyun select BR2_PACKAGE_LIBUSB 10*4882a593Smuzhiyun help 11*4882a593Smuzhiyun UPower is an abstraction for enumerating power devices, 12*4882a593Smuzhiyun listening to device events and querying history and 13*4882a593Smuzhiyun statistics. Any application or service on the system can 14*4882a593Smuzhiyun access the org.freedesktop.UPower service via the system 15*4882a593Smuzhiyun message bus. 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun Note: upowerd require CONFIG_TIMER_STATS enabled in the 18*4882a593Smuzhiyun Linux kernel. 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun https://upower.freedesktop.org/ 21*4882a593Smuzhiyun 22*4882a593Smuzhiyuncomment "upower needs udev /dev management" 23*4882a593Smuzhiyun depends on BR2_USE_MMU 24*4882a593Smuzhiyun depends on !BR2_PACKAGE_HAS_UDEV 25*4882a593Smuzhiyun 26*4882a593Smuzhiyuncomment "upower needs a toolchain w/ threads, wchar, gcc >= 4.9" 27*4882a593Smuzhiyun depends on BR2_USE_MMU 28*4882a593Smuzhiyun depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ 29*4882a593Smuzhiyun !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 30