mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
add support of screen brightness settings for Android
and use standrad Android API to query battery level and charging status This should fix #2025, fix #1759 and fix #1415.
This commit is contained in:
@@ -11,6 +11,7 @@ local Device = Generic:new{
|
||||
hasKeys = yes,
|
||||
hasDPad = no,
|
||||
isAndroid = yes,
|
||||
hasFrontlight = yes,
|
||||
firmware_rev = "none",
|
||||
display_dpi = ffi.C.AConfiguration_getDensity(android.app.config),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user