![]() |
#31 |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 206176
Join Date: Apr 2013
Location: Europe
Device: Kobo Glo
|
@Kevin
It would be great if you could update the topic title and the first post with the newest version for all models. Looking at the tiny bit we know about the hardware, the latest version should work. But depending on how much they changed the software, KoboTweaks might not be compatible. |
![]() |
![]() |
![]() |
#32 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 348
Karma: 209937
Join Date: Jan 2012
Location: Virginia, US
Device: Kobo Wifi, Kobo Glo
|
I think I read somewhere that the Kobo Tweaks plugin doesn't work on the Aura (which doesn't surprise me, considering they completely remade the homescreen). So right now, no.
Done. |
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Just would like to mention (the obvious) that one can start the night mode from the "KoboLauncher for standalone Qt apps" too.
Last edited by tshering; 05-04-2013 at 12:00 PM. |
![]() |
![]() |
![]() |
#34 | |
Pain in the arse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
Quote:
The idea of the init script is good, I don't have to bother ah- ![]() |
|
![]() |
![]() |
![]() |
#35 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
I am certain, this is a pure coincidence. I installed yesterday the night mode program (build 2), which does a great job, and my battery went down from 97% (yesterday) to 30% (today). I never had a battery problem with my touch before. Did anybody else experience this? Additional information: Estimated reading time three or maybe four hours. Wifi was always off. The device was powered off during night.
Last edited by tshering; 05-04-2013 at 02:38 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#36 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 336
Karma: 59242
Join Date: Apr 2013
Location: France, languages : french and a little bit english.
Device: Kobo Glo, Aura HD
|
Tshering,
It's very strange because I have noticed no problem with the version 1 that refreshed the screen 2 tenth of a second (it could reduce the autonomy of the battery) and the version 2 doesn't do this, so it should be better. I will read this evening... tomorrow I will tell you if I notice something wrong. Last edited by akorx; 05-04-2013 at 04:02 PM. |
![]() |
![]() |
![]() |
#37 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
akorx,
merci beaucoup. I am hoping it is not the night mode, since I like it a lot. On the other hand, I would feel better if I knew what happened. |
![]() |
![]() |
![]() |
#38 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 336
Karma: 59242
Join Date: Apr 2013
Location: France, languages : french and a little bit english.
Device: Kobo Glo, Aura HD
|
Oh Tshering ! you speak french?
I've ridden during 1h15 yesterday with the frontlight on and my battery is gone to 100% to 96% of capacity... Are you sure that yours was at 97% the first time? Last edited by akorx; 05-05-2013 at 05:22 AM. |
![]() |
![]() |
![]() |
#39 |
Pain in the arse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
It could be simply that it's more resource consuming to turn the pixel to black. It seems to me that in night mode Kobo is a bit more slow.
Anyway, what does exaclt this piece of code? Code:
while(1) { int err = epoll_wait(epollFD, &readEvent, 1, -1); if(err > 0) { int bytesRead = read(fd, &input, sizeof(input)); if(bytesRead == 0) //writing application left the pipe -> reopen { close(fd); fd = open(ctlPipe, O_NONBLOCK); readEvent.data.fd = fd; epoll_ctl(epollFD, EPOLL_CTL_ADD, fd, &readEvent); continue; } |
![]() |
![]() |
![]() |
#40 |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 206176
Join Date: Apr 2013
Location: Europe
Device: Kobo Glo
|
About the slowness and batterylife: None of this has happened on my Glo, maybe there is something specific about the Touch that I missed? Please try to pinpoint when the battery drains so quickly, is it during reading, sleeping (or (!) power off)? There's also an uninstaller if you want to compare easily, see the first post.
I create a named pipe (/tmp/screenInvert) to be able to control the state. For this I launch a new thread which opens the pipe and waits for data to arrive. It waits using epoll_wait(), so the thread is only awakened by the kernel when someone writes to the pipe (i.e. you press toggle). After the read is completed, I need to reopen the pipe. |
![]() |
![]() |
![]() |
#41 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
I fully charged my Touch yesterday night, and powered it off. In the morning it was still at 100%. 1) I read an English epub in day mode for approximately one and a half hours without using a dictionary. The battery went from 100% to 95%. 2) I read a Japanese kepub.epub in night mode for approximately another one and a half hours with intensive dictionary use. The battery dropped from 95% to 80%. Unfortunately, I cannot compare these values with previous values since I never logged the power consumption. I will try to make a similar reading session without the night mode program next weekend, or during this week if I find the time. Quote:
This is very similar to my first one and a half hours. I am pretty sure about the 97%. |
||
![]() |
![]() |
![]() |
#42 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 93
Karma: 11824
Join Date: Feb 2013
Device: Kobo Mini/Aura H2O/Aura One LE / Tea Inkpad 3
|
Hello,
After some tests it seems bugs appeared. I'm on Glo, firmware 2.5.1, KoboTweaks plugin installed and Calibre plugin to send books in kepub format. Since I installed the last NightMode plugin, serial information are no more transmitted. After uninstalling the NightMode plugin (with the uninstaller provided with the plugin), some files have to be removed manually in the .kobo directory. (nightmode.sh and screenInv.so) Serial informations are again transmitted to the Kobo. But, on my current book, chapter informations are not good, no more chapter name but names of the html files in the epub (.kepub.epub) The only way to solve this is to factory reset the Kobo. Sorry for my English, I'm from France. |
![]() |
![]() |
![]() |
#43 | |
Pain in the arse
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
|
Quote:
@yoq: ok. Granted that I don't know much about programming :-P, can't you create a fifo AND a file in nightmode.sh, reading the file only the first time? Furthermore you check if returned value of epoll_wait is > 0, but this is not superfluous since timeout is infinite? |
|
![]() |
![]() |
![]() |
#44 | |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 206176
Join Date: Apr 2013
Location: Europe
Device: Kobo Glo
|
Quote:
about epoll, i'm think an EINTR error is possible: http://linux.die.net/man/2/epoll_wait it suspect it could happen when shutting down I'm not sure what you mean about the file, but I have to create the fifo on startup, as a channel of communication. @Mingyar I'm sorry to hear you had to do a factory reset. But I have an idea why there could be a problem, I'll upload a new version soon. I'm not entirely sure what you mean by serial information. And yes, the uninstaller doesn't remove all files but the hack is disabled afterwards. So far I couldn't think of a safe way to remove them on all models. Last edited by yoq; 05-05-2013 at 02:44 PM. |
|
![]() |
![]() |
![]() |
#45 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Code:
body { color:white; background-color:black; text-align: justify;} |
|
![]() |
![]() |
![]() |
Tags |
glo, hack, mini, night mode, touch |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo Night mode ? | Ethanaul | Kobo Reader | 1 | 07-23-2013 10:23 PM |
does 'night mode' use more power? | pumpkincat | Kobo Tablets | 10 | 02-25-2012 01:39 PM |
Odyssey Anyone using Night-Mode? | DuckieTigger | Bookeen | 2 | 01-28-2012 12:13 PM |
help with night mode | golfgirl | Kobo Tablets | 5 | 11-04-2011 10:40 AM |
Is there a night mode? | zeroh | Nook Color & Nook Tablet | 5 | 12-04-2010 10:24 AM |