07-25-2014, 08:13 AM | #1 |
Connoisseur
Posts: 68
Karma: 10
Join Date: Jun 2014
Device: android
|
Battery drain
I am not sure whether this topic goes in here. But since the issue cropped up after adding large number of books to device, I think it can be discussed here.
Device: samsung galaxy note 2 OS: kitcat 4.4.2 I added a large number of books to device through calibre companions connect as wireless device/content server. The book metadata is in sync with calibre. There is no issue with functionality of cc. Its working as it should and I can open and read each and every book. But after the addition of books my battery drains super fast. The reason being "index services" consuming 60% of battery. It takes about 4 days for the index services to finish is job and settle down. I am ok with it considering the number and size of books I have added. But the issue is, whenever I add or delete a new book to calibre and sync it with cc, the index services kicks in again draining the battery and phone lags too much. Sometimes indexing crashes too. I have gone through many forums about indexing services issue. I added a .nomedia file to the folder of cc books (I have them on my external sd card in a folder called calibre companion. Yes, I am on rooted kitkat and could add a custom folder for cc). But .nomedia file failed to prevent index services from indexing cc folder. I tried disabling index services which helps, but that cripples the intention of index services for other media. I read somewhere that if the pdf files have extra special characters like " . " before the file extension, index services struggles or crashes when indexing such files. Many of my books have that extra " . " But there is no problem in reading these files. Having book id as file name is not an option for me, as I will have to re add all books and I prefer my books with title for the convenience of searching. How do I solve this issue. I dont want indexing services to index cc folder or it should not index cc folder fully on every addition or deletion. Thanks. |
07-25-2014, 08:29 AM | #2 |
Grand Sorcerer
Posts: 12,122
Karma: 7908995
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Sorry, but I have no idea. Index service seems to be a samsung thing. It doesn't exist on any of my devices.
|
Advert | |
|
07-25-2014, 08:54 AM | #3 |
Connoisseur
Posts: 68
Karma: 10
Join Date: Jun 2014
Device: android
|
Thanks. I will try on samsung forums. But, is it possible to have book titles without those extra " . " before the file extensions?
|
07-25-2014, 08:57 AM | #4 |
Connoisseur
Posts: 68
Karma: 10
Join Date: Jun 2014
Device: android
|
|
07-25-2014, 09:12 AM | #5 |
Grand Sorcerer
Posts: 12,122
Karma: 7908995
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
You can have the book file name be anything you want.
In calibre, after connecting your device, right-click on the device icon and choose "Configure this device". You will see a screen similar to the attachment. Put whatever template you want in the box pointed at by the red arrow. See the template language documentation for help with templates. My guess is that you want to use the re() function to remove characters from the authors and titles. Do note that you must delete the copy with the old file name before sending a copy with the new name, otherwise the new file name will be ignored. The best approach is to connect, delete books using calibre's device view, disconnect, connect again, send. Try it on a few books before you do it for all. |
Advert | |
|
07-25-2014, 10:00 AM | #6 |
Connoisseur
Posts: 68
Karma: 10
Join Date: Jun 2014
Device: android
|
Hmmm.... that's going to take take hell lot of time to do that for all 900 plus books. Will I have to delete and re add books on cc if I select to have book id as file name?
|
07-25-2014, 10:04 AM | #7 | |
Grand Sorcerer
Posts: 12,122
Karma: 7908995
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Deleting the files off the device using calibre is relatively fast. The time to send the new copy is the same regardless of which naming algorithm is used. You may want to be sure that changing the file name works around the Samsung indexer bug before you rename everything. |
|
07-25-2014, 10:24 AM | #8 |
Connoisseur
Posts: 68
Karma: 10
Join Date: Jun 2014
Device: android
|
I searched a lot around how to fix the issue and tried almost every available solution. Only two options left are renaming pdfs without extra characters and formatting sd card. These are apart from option of removing indexing service altogether.
|
07-26-2014, 03:13 AM | #9 |
Connoisseur
Posts: 68
Karma: 10
Join Date: Jun 2014
Device: android
|
I deleted all books from cc. Readded books with book id as file name. Books got indexed within few hours and I don't have battery drain due to indexing services running non stop on my galaxy note 2 now. Were those extra "." In file name before file extention responsible for indexing services to hang up resulting in battery drain?
|
07-26-2014, 03:52 AM | #10 |
Grand Sorcerer
Posts: 12,122
Karma: 7908995
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I don't know. As I said, I don't have a device with the service. I suppose it could be, given that Android has trouble with such files when launching readers.
|
07-26-2014, 04:08 AM | #11 |
Connoisseur
Posts: 68
Karma: 10
Join Date: Jun 2014
Device: android
|
Yes. We did discuss about this earlier. Those files were not picked up by moon reader. All is well now. But I have to live with book id and not book title. Thanks
|
07-26-2014, 04:17 AM | #12 |
Grand Sorcerer
Posts: 12,122
Karma: 7908995
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
You could do what I suggested in post 5 and change the template in calibre. Something like
Code:
{title:'re($, '[.,]', '_')'} - {authors:'re($, '[.,]', '_')'} ({id}) |
07-26-2014, 04:50 AM | #13 | |
Connoisseur
Posts: 68
Karma: 10
Join Date: Jun 2014
Device: android
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Touch Battery Drain KT | Katel | Kobo Reader | 18 | 11-16-2012 02:40 AM |
PRS-650 battery drain | StanByk | Sony Reader | 13 | 06-25-2011 05:27 PM |
Battery Drain | MaudDib | Amazon Kindle | 6 | 02-07-2011 01:28 AM |
DR1000 Battery drain with 1.7.1 | Gogolo | iRex | 11 | 09-14-2010 07:37 AM |
Battery drain when off? | Avenger | iRex | 19 | 06-17-2009 12:46 PM |